Class SzDatabaseTransientException
Extends SzRetryableException to define an exceptional condition where an operation failed because a database condition that is transient and would like be resolved on a repeated attempt. Retrying the operation may result in it completing successfully.
public class SzDatabaseTransientException : SzRetryableException, ISerializable
- Inheritance
-
SzDatabaseTransientException
- Implements
- Inherited Members
Constructors
SzDatabaseTransientException()
Default constructor.
public SzDatabaseTransientException()
SzDatabaseTransientException(Exception)
Constructs with the {@link Throwable} that is the underlying cause for the exception.
public SzDatabaseTransientException(Exception cause)
Parameters
cause
ExceptionThe underlying cause for the exception.
SzDatabaseTransientException(long?, string)
Constructs with a message explaing the reason for the exception.
public SzDatabaseTransientException(long? errorCode, string message)
Parameters
errorCode
long?The underlying Senzing error code.
message
stringThe message explaining the reason for the exception.
SzDatabaseTransientException(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 SzDatabaseTransientException(long? errorCode, string message, Exception cause)
Parameters
errorCode
long?The underlying Senzing error code.
message
stringThe message explaining the reason for the exception.
cause
ExceptionThe underlying cause for the exception.
SzDatabaseTransientException(string)
Constructs with a message explaing the reason for the exception.
public SzDatabaseTransientException(string message)
Parameters
message
stringThe message explaining the reason for the exception.
SzDatabaseTransientException(string, Exception)
Constructs with a message explaing the reason for the exception and
the Exception
that is the underlying cause for the exception.
public SzDatabaseTransientException(string message, Exception cause)