Class SzDatabaseTransientException

All Implemented Interfaces:
Serializable

public class SzDatabaseTransientException extends SzRetryableException
Extends SzRetryableException to define an exceptional condition where an operation failed because a database condition that is transient and would like be resolved on a repeated attempt. Retrying the operation may result in it completing successfully.
See Also:
  • Constructor Details

    • SzDatabaseTransientException

      public SzDatabaseTransientException()
      Default constructor.
    • SzDatabaseTransientException

      public SzDatabaseTransientException(String message)
      Constructs with a message explaing the reason for the exception.
      Parameters:
      message - The message explaining the reason for the exception.
    • SzDatabaseTransientException

      public SzDatabaseTransientException(int errorCode, String message)
      Constructs with a message explaing the reason for the exception.
      Parameters:
      errorCode - The underlying senzing error code.
      message - The message explaining the reason for the exception.
    • SzDatabaseTransientException

      public SzDatabaseTransientException(Throwable cause)
      Constructs with the Throwable that is the underlying cause for the exception.
      Parameters:
      cause - The message The message explaining the reason for the exception.
    • SzDatabaseTransientException

      public SzDatabaseTransientException(String message, Throwable cause)
      Constructs with a message explaing the reason for the exception and the Throwable that is the underlying cause for the exception.
      Parameters:
      message - The message explaining the reason for the exception.
      cause - The message The message explaining the reason for the exception.
    • SzDatabaseTransientException

      public SzDatabaseTransientException(int errorCode, String message, Throwable cause)
      Constructs with the Senzing error code, the message explaing the reason for the exception and the Throwable that is the underlying cause for the exception.
      Parameters:
      errorCode - The underlying senzing error code.
      message - The message explaining the reason for the exception.
      cause - The message The message explaining the reason for the exception.