Class InvalidTransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.cojen.tupl.DatabaseException
org.cojen.tupl.InvalidTransactionException
- All Implemented Interfaces:
Serializable
Thrown when acting upon a broken transaction instance.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidTransactionException
(String message) InvalidTransactionException
(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns false if database should be closed as a result of this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidTransactionException
public InvalidTransactionException() -
InvalidTransactionException
-
InvalidTransactionException
-
InvalidTransactionException
-
-
Method Details
-
isRecoverable
public boolean isRecoverable()Description copied from class:DatabaseException
Returns false if database should be closed as a result of this exception.- Overrides:
isRecoverable
in classDatabaseException
-