org.firebirdsql.jca
Class FBResourceTransactionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.resource.ResourceException
              extended byorg.firebirdsql.jca.FBResourceException
                  extended byorg.firebirdsql.jca.FBResourceTransactionException
All Implemented Interfaces:
java.io.Serializable

public class FBResourceTransactionException
extends FBResourceException

Exception represents transaction error in resource.

Author:
Roman Rokytskyy
See Also:
Serialized Form

Field Summary
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
           
 
Fields inherited from class org.firebirdsql.jca.FBResourceException
SQL_STATE_GENERAL_ERROR
 
Constructor Summary
FBResourceTransactionException(java.lang.String reason)
           
FBResourceTransactionException(java.lang.String reason, java.lang.Exception cause)
           
FBResourceTransactionException(java.lang.String reason, java.lang.String errorCode)
           
FBResourceTransactionException(java.lang.String reason, java.lang.String errorCode, java.lang.Exception cause)
           
 
Methods inherited from class org.firebirdsql.jca.FBResourceException
getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class javax.resource.ResourceException
getErrorCode, getLinkedException, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SQL_STATE_INVALID_TRANSACTION_STATE

public static final java.lang.String SQL_STATE_INVALID_TRANSACTION_STATE
See Also:
Constant Field Values

SQL_STATE_TRANSACTION_ACTIVE

public static final java.lang.String SQL_STATE_TRANSACTION_ACTIVE
See Also:
Constant Field Values

SQL_STATE_TRANSACTION_ROLLED_BACK

public static final java.lang.String SQL_STATE_TRANSACTION_ROLLED_BACK
See Also:
Constant Field Values
Constructor Detail

FBResourceTransactionException

public FBResourceTransactionException(java.lang.String reason)

FBResourceTransactionException

public FBResourceTransactionException(java.lang.String reason,
                                      java.lang.String errorCode)

FBResourceTransactionException

public FBResourceTransactionException(java.lang.String reason,
                                      java.lang.Exception cause)

FBResourceTransactionException

public FBResourceTransactionException(java.lang.String reason,
                                      java.lang.String errorCode,
                                      java.lang.Exception cause)


Copyright © 2001 David Jencks and other authors. All rights reserved.