Package oracle.nosql.driver
Class NoSQLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- oracle.nosql.driver.NoSQLException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AuthenticationException,InvalidAuthorizationException,JsonParseException,OperationNotSupportedException,RequestTimeoutException,ResourceExistsException,ResourceLimitException,ResourceNotFoundException,RetryableException,TableSizeException,UnauthorizedException
public class NoSQLException extends java.lang.RuntimeExceptionA base exception for most exceptions thrown by the driver. All of the exceptions defined in this package extend this exception. The driver throws Java exceptions such asIllegalArgumentExceptiondirectly.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanokToRetry()Returns whether this exception can be retried with a reasonable expectation that it may succeed.
-
-
-
Method Detail
-
okToRetry
public boolean okToRetry()
Returns whether this exception can be retried with a reasonable expectation that it may succeed. Instances ofRetryableExceptionwill return true for this method.- Returns:
- true if this exception can be retried
-
-