Package com.senzing.sdk
Class SzDatabaseConnectionLostException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.senzing.sdk.SzException
com.senzing.sdk.SzRetryableException
com.senzing.sdk.SzDatabaseConnectionLostException
- All Implemented Interfaces:
Serializable
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.- Since:
- 4.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.SzDatabaseConnectionLostException(int errorCode, String message) Constructs with a message explaining the reason for the exception.SzDatabaseConnectionLostException(int errorCode, String message, Throwable cause) Constructs with the Senzing error code, the message explaining the reason for the exception and theThrowablethat is the underlying cause for the exception.SzDatabaseConnectionLostException(String message) Constructs with a message explaining the reason for the exception.SzDatabaseConnectionLostException(String message, Throwable cause) Constructs with a message explaining the reason for the exception and theThrowablethat is the underlying cause for the exception.Constructs with theThrowablethat is the underlying cause for the exception. -
Method Summary
Methods inherited from class com.senzing.sdk.SzException
getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SzDatabaseConnectionLostException
public SzDatabaseConnectionLostException()Default constructor. -
SzDatabaseConnectionLostException
Constructs with a message explaining the reason for the exception.- Parameters:
message- The message explaining the reason for the exception.
-
SzDatabaseConnectionLostException
Constructs with a message explaining the reason for the exception.- Parameters:
errorCode- The underlying senzing error code.message- The message explaining the reason for the exception.
-
SzDatabaseConnectionLostException
Constructs with theThrowablethat is the underlying cause for the exception.- Parameters:
cause- The message The message explaining the reason for the exception.
-
SzDatabaseConnectionLostException
Constructs with a message explaining the reason for the exception and theThrowablethat 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
Constructs with the Senzing error code, the message explaining the reason for the exception and theThrowablethat 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.
-