Class RetryableException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SecurityInfoNotReadyException, SystemException, TableBusyException, TableNotReadyException, ThrottlingException

public class RetryableException extends NoSQLException
A base exception for all exceptions that may be retried with a reasonable expectation that they may succeed on retry.
See Also:
  • Method Details

    • okToRetry

      public boolean okToRetry()
      Description copied from class: NoSQLException
      Returns whether this exception can be retried with a reasonable expectation that it may succeed. Instances of RetryableException will return true for this method.
      Overrides:
      okToRetry in class NoSQLException
      Returns:
      true if this exception can be retried