public class HGTransactionException extends Exception
A HGTransactionException is thrown from within the transaction
handling of HyperGraph. When such an exception is thrown during an operation
on a particular transaction, that transaction must be assumed invalid. Thus,
when HGTransactionException is caught, this means that the current
transaction has become invalid and cannot not be aborted. Similarly, when
caught a HGTransactionException should never be rethrown which
could prevent the freeing of parent transaction up the call stack. If you need
to propagate a HGTransactionException, you must wrap it in some
other exception (e.g. RuntimeException).
HGTransactionExceptions mean one of two things:
| Constructor and Description |
|---|
HGTransactionException(String msg) |
HGTransactionException(String msg,
Throwable cause) |
HGTransactionException(Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2015. All rights reserved.