public class FBResourceTransactionException extends FBResourceException
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SQL_STATE_INVALID_TRANSACTION_STATE |
static java.lang.String |
SQL_STATE_TRANSACTION_ACTIVE |
static java.lang.String |
SQL_STATE_TRANSACTION_ROLLED_BACK |
SQL_STATE_GENERAL_ERROR| Constructor and Description |
|---|
FBResourceTransactionException(java.lang.String reason)
Create a new insance of
FBResourceTransactionException
with a given message and generic error code |
FBResourceTransactionException(java.lang.String reason,
java.lang.Exception cause)
Create a new instance of
FBResourceTransactionException
with a given message and sub-exception. |
FBResourceTransactionException(java.lang.String reason,
java.lang.String errorCode)
Create a new instance of
FBResourceTransactionException
with a given message and error code. |
FBResourceTransactionException(java.lang.String reason,
java.lang.String errorCode,
java.lang.Exception cause)
Create a new instance of
FBResourceException
with a given message, error code and underlying exception. |
getMessage, printStackTrace, printStackTrace, printStackTracegetErrorCode, getLinkedException, setErrorCode, setLinkedExceptionpublic static final java.lang.String SQL_STATE_INVALID_TRANSACTION_STATE
public static final java.lang.String SQL_STATE_TRANSACTION_ACTIVE
public static final java.lang.String SQL_STATE_TRANSACTION_ROLLED_BACK
public FBResourceTransactionException(java.lang.String reason)
FBResourceTransactionException
with a given message and generic error codereason - The string message for this exceptionpublic FBResourceTransactionException(java.lang.String reason,
java.lang.String errorCode)
FBResourceTransactionException
with a given message and error code.reason - The string message for this exceptionerrorCode - The error code for this exceptionpublic FBResourceTransactionException(java.lang.String reason,
java.lang.Exception cause)
FBResourceTransactionException
with a given message and sub-exception.reason - The string message for this exceptioncause - The underlying exceptionpublic FBResourceTransactionException(java.lang.String reason,
java.lang.String errorCode,
java.lang.Exception cause)
FBResourceException
with a given message, error code and underlying exception.reason - The string message for this exceptionerrorCode - The error code for this exceptioncause - The underlying exceptionCopyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.