Class SzDatabaseConnectionLostException

All Implemented Interfaces:
Serializable

public class SzDatabaseConnectionLostException extends SzRetryableException
Extends SzRetryableException to define an exceptional condition where a database connection was lost causing a Senzing operation to fail. Retrying the operation would likely result in the connection being reestablished and the operation succeeding.
See Also:
  • Constructor Details

    • SzDatabaseConnectionLostException

      public SzDatabaseConnectionLostException()
      Default constructor.
    • SzDatabaseConnectionLostException

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

      public SzDatabaseConnectionLostException(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.
    • SzDatabaseConnectionLostException

      public SzDatabaseConnectionLostException(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.
    • SzDatabaseConnectionLostException

      public SzDatabaseConnectionLostException(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.
    • SzDatabaseConnectionLostException

      public SzDatabaseConnectionLostException(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.