Class DatabaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.cojen.tupl.DatabaseException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CacheExhaustedException
,ClosedIndexException
,ConfirmationFailureException
,CorruptDatabaseException
,DatabaseFullException
,InvalidTransactionException
,LargeKeyException
,LargeValueException
,LockFailureException
,NoSuchRowException
,NoSuchValueException
,UnmodifiableReplicaException
,ViewConstraintException
,WriteFailureException
Exception thrown which indicates a database problem not due to general
I/O problems.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDatabaseException
(String message) DatabaseException
(String message, Throwable cause) DatabaseException
(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
-
DatabaseException
public DatabaseException() -
DatabaseException
-
DatabaseException
-
DatabaseException
-
-
Method Details
-
isRecoverable
public boolean isRecoverable()Returns false if database should be closed as a result of this exception.
-