Class ConfirmationTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.cojen.tupl.DatabaseException
org.cojen.tupl.ConfirmationFailureException
org.cojen.tupl.ConfirmationTimeoutException
- All Implemented Interfaces:
Serializable
Thrown when replication confirmation timed out.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfirmationTimeoutException
public ConfirmationTimeoutException(long nanosTimeout) - Parameters:
nanosTimeout
- negative is interpreted as infinite wait
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
timeout
public long timeout() -
unit
-
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
-