Table of Contents

Class SzDatabaseConnectionLostException

Namespace
Senzing.Sdk
Assembly
Senzing.Sdk.dll

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

cause Exception

The underlying cause for the exception.

SzDatabaseConnectionLostException(long?, string)

Constructs with a message explaing the reason for the exception.

public SzDatabaseConnectionLostException(long? errorCode, string message)

Parameters

errorCode long?

The underlying Senzing error code.

message string

The message explaining the reason for the exception.

SzDatabaseConnectionLostException(long?, string, Exception)

Constructs with the Senzing error code, the message explaing 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

errorCode long?

The underlying Senzing error code.

message string

The message explaining the reason for the exception.

cause Exception

The underlying cause for the exception.

SzDatabaseConnectionLostException(string)

Constructs with a message explaing the reason for the exception.

public SzDatabaseConnectionLostException(string message)

Parameters

message string

The message explaining the reason for the exception.

SzDatabaseConnectionLostException(string, Exception)

Constructs with a message explaing the reason for the exception and the Exception that is the underlying cause for the exception.

public SzDatabaseConnectionLostException(string message, Exception cause)

Parameters

message string

The message explaining the reason for the exception.

cause Exception

The underlying cause for the exception.