Package oracle.nosql.driver
Class RetryableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.nosql.driver.NoSQLException
oracle.nosql.driver.RetryableException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- SecurityInfoNotReadyException,- SystemException,- TableBusyException,- TableNotReadyException,- ThrottlingException
A base exception for all exceptions that may be retried with a reasonable
 expectation that they may succeed on retry.
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns whether this exception can be retried with a reasonable expectation that it may succeed.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Method Details- 
okToRetrypublic boolean okToRetry()Description copied from class:NoSQLExceptionReturns whether this exception can be retried with a reasonable expectation that it may succeed. Instances ofRetryableExceptionwill return true for this method.- Overrides:
- okToRetryin class- NoSQLException
- Returns:
- true if this exception can be retried
 
 
-