Package org.firebirdsql.jca
Class FBResourceTransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
org.firebirdsql.jca.FBResourceException
org.firebirdsql.jca.FBResourceTransactionException
- All Implemented Interfaces:
Serializable
Exception represents transaction error in resource.
- Author:
- Roman Rokytskyy
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFBResourceTransactionException(String reason) Create a new instance ofFBResourceTransactionExceptionwith a given message and generic error codeFBResourceTransactionException(String reason, Exception cause) Create a new instance ofFBResourceTransactionExceptionwith a given message and sub-exception.FBResourceTransactionException(String reason, String errorCode) Create a new instance ofFBResourceTransactionExceptionwith a given message and error code.FBResourceTransactionException(String reason, String errorCode, Exception cause) Create a new instance ofFBResourceExceptionwith a given message, error code and underlying exception. -
Method Summary
Methods inherited from class org.firebirdsql.jca.FBResourceException
getMessage, printStackTrace, printStackTrace, printStackTraceMethods inherited from class javax.resource.ResourceException
getErrorCode, getLinkedException, setErrorCode, setLinkedExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
FBResourceTransactionException
Create a new instance ofFBResourceTransactionExceptionwith a given message and generic error code- Parameters:
reason- The string message for this exception
-
FBResourceTransactionException
Create a new instance ofFBResourceTransactionExceptionwith a given message and error code.- Parameters:
reason- The string message for this exceptionerrorCode- The error code for this exception
-
FBResourceTransactionException
Create a new instance ofFBResourceTransactionExceptionwith a given message and sub-exception.- Parameters:
reason- The string message for this exceptioncause- The underlying exception
-
FBResourceTransactionException
Create a new instance ofFBResourceExceptionwith a given message, error code and underlying exception.- Parameters:
reason- The string message for this exceptionerrorCode- The error code for this exceptioncause- The underlying exception
-