Class SzDatabaseConnectionLostException
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.
public class SzDatabaseConnectionLostException : SzRetryableException, ISerializable
- Inheritance
-
SzDatabaseConnectionLostException
- Implements
- Inherited Members
Constructors
SzDatabaseConnectionLostException()
Default constructor.
public SzDatabaseConnectionLostException()
SzDatabaseConnectionLostException(Exception)
Constructs with the {@link Throwable} that is the underlying cause for the exception.
public SzDatabaseConnectionLostException(Exception cause)
Parameters
causeExceptionThe underlying cause for the exception.
SzDatabaseConnectionLostException(long?, string)
Constructs with a message explaining the reason for the exception.
public SzDatabaseConnectionLostException(long? errorCode, string message)
Parameters
errorCodelong?The underlying Senzing error code.
messagestringThe message explaining the reason for the exception.
SzDatabaseConnectionLostException(long?, string, Exception)
Constructs with the Senzing error code, the message explaining the reason
for the exception and the Exception that is the underlying cause
for the exception.
public SzDatabaseConnectionLostException(long? errorCode, string message, Exception cause)
Parameters
errorCodelong?The underlying Senzing error code.
messagestringThe message explaining the reason for the exception.
causeExceptionThe underlying cause for the exception.
SzDatabaseConnectionLostException(string)
Constructs with a message explaining the reason for the exception.
public SzDatabaseConnectionLostException(string message)
Parameters
messagestringThe message explaining the reason for the exception.
SzDatabaseConnectionLostException(string, Exception)
Constructs with a message explaining the reason for the exception and
the Exception that is the underlying cause for the exception.
public SzDatabaseConnectionLostException(string message, Exception cause)