Table of Contents

Class SzDatabaseException

Namespace
Senzing.Sdk
Assembly
Senzing.Sdk.dll

Extends SzUnrecoverableException to define an exceptional condition triggered by a database error from which we cannot recover (e.g.: missing or unexpected schema defintion).

public class SzDatabaseException : SzUnrecoverableException, ISerializable
Inheritance
SzDatabaseException
Implements
Inherited Members

Constructors

SzDatabaseException()

Default constructor.

public SzDatabaseException()

SzDatabaseException(Exception)

Constructs with the {@link Throwable} that is the underlying cause for the exception.

public SzDatabaseException(Exception cause)

Parameters

cause Exception

The underlying cause for the exception.

SzDatabaseException(long?, string)

Constructs with a message explaing the reason for the exception.

public SzDatabaseException(long? errorCode, string message)

Parameters

errorCode long?

The underlying Senzing error code.

message string

The message explaining the reason for the exception.

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

SzDatabaseException(string)

Constructs with a message explaing the reason for the exception.

public SzDatabaseException(string message)

Parameters

message string

The message explaining the reason for the exception.

SzDatabaseException(string, Exception)

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

public SzDatabaseException(string message, Exception cause)

Parameters

message string

The message explaining the reason for the exception.

cause Exception

The underlying cause for the exception.