Class WriteFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.cojen.tupl.DatabaseException
org.cojen.tupl.WriteFailureException
- All Implemented Interfaces:
Serializable
Thrown when writing to the underlying storage device failed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWriteFailureException(String message) WriteFailureException(String message, Throwable cause) WriteFailureException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic WriteFailureExceptionWraps the given exception if necessary.booleanReturns false if database should be closed as a result of this exception.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WriteFailureException
public WriteFailureException() -
WriteFailureException
-
WriteFailureException
-
WriteFailureException
-
-
Method Details
-
from
Wraps the given exception if necessary. -
isRecoverable
public boolean isRecoverable()Description copied from class:DatabaseExceptionReturns false if database should be closed as a result of this exception.- Overrides:
isRecoverablein classDatabaseException
-