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 WriteFailureException
Wraps the given exception if necessary.boolean
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
-
WriteFailureException
public WriteFailureException() -
WriteFailureException
-
WriteFailureException
-
WriteFailureException
-
-
Method Details
-
from
Wraps the given exception if necessary. -
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
-