public class FBResourceTransactionException extends FBResourceException
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SQL_STATE_INVALID_TRANSACTION_STATE
Deprecated.
Use constants from
SQLStateConstants. To be removed in Jaybird 4. |
static java.lang.String |
SQL_STATE_TRANSACTION_ACTIVE
Deprecated.
Use constants from
SQLStateConstants. To be removed in Jaybird 4. |
static java.lang.String |
SQL_STATE_TRANSACTION_ROLLED_BACK
Deprecated.
Use constants from
SQLStateConstants. To be removed in Jaybird 4. |
SQL_STATE_GENERAL_ERROR| Constructor and Description |
|---|
FBResourceTransactionException(java.lang.String reason)
Create a new instance 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, setLinkedException@Deprecated public static final java.lang.String SQL_STATE_INVALID_TRANSACTION_STATE
SQLStateConstants. To be removed in Jaybird 4.@Deprecated public static final java.lang.String SQL_STATE_TRANSACTION_ACTIVE
SQLStateConstants. To be removed in Jaybird 4.@Deprecated public static final java.lang.String SQL_STATE_TRANSACTION_ROLLED_BACK
SQLStateConstants. To be removed in Jaybird 4.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-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.