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
causeExceptionThe underlying cause for the exception.
SzDatabaseTransientException(long?, string)
Constructs with a message explaining the reason for the exception.
public SzDatabaseTransientException(long? errorCode, string message)
Parameters
errorCodelong?The underlying Senzing error code.
messagestringThe message explaining the reason for the exception.
SzDatabaseTransientException(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 SzDatabaseTransientException(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.
SzDatabaseTransientException(string)
Constructs with a message explaining the reason for the exception.
public SzDatabaseTransientException(string message)
Parameters
messagestringThe message explaining the reason for the exception.
SzDatabaseTransientException(string, Exception)
Constructs with a message explaining the reason for the exception and
the Exception that is the underlying cause for the exception.
public SzDatabaseTransientException(string message, Exception cause)