Class LargeValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.cojen.tupl.DatabaseException
org.cojen.tupl.LargeValueException
- All Implemented Interfaces:
Serializable
Thrown when attempting to load a value which cannot fit into memory.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLargeValueException
(long length) LargeValueException
(long length, Throwable cause) LargeValueException
(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
-
LargeValueException
public LargeValueException(long length) -
LargeValueException
-
LargeValueException
-
-
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
-