Class SzDatabaseException

All Implemented Interfaces:
Serializable

public class SzDatabaseException extends SzUnrecoverableException
Extends SzUnrecoverableException to define an exceptional condition triggered by a database error from which we cannot recover (e.g.: missing or unexpected schema definition).
See Also:
  • Constructor Details

    • SzDatabaseException

      public SzDatabaseException()
      Default constructor.
    • SzDatabaseException

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

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

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

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

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