Class LargeKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.cojen.tupl.DatabaseException
org.cojen.tupl.LargeKeyException
- All Implemented Interfaces:
Serializable
Thrown when attempting to load a key which cannot fit into memory.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLargeKeyException
(long length) LargeKeyException
(long length, Throwable cause) LargeKeyException
(String message) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns false if database should be closed as a result of this exception.long
length()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LargeKeyException
public LargeKeyException(long length) -
LargeKeyException
-
LargeKeyException
-
-
Method Details
-
length
public long length() -
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
-