javax.resource.spi
Class LocalTransactionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.resource.ResourceException (src) 
              extended byjavax.resource.spi.LocalTransactionException
All Implemented Interfaces:
java.io.Serializable

public class LocalTransactionException
extends ResourceException (src)

A LocalTransactionException represents various error conditions related to local transaction management. Common error conditions which are indicated by this exception include failure to commit, attempt to start a transaction while inside a transaction, or any resource adapter transaction related error condition.

See Also:
Serialized Form

Constructor Summary
LocalTransactionException()
          Create an exception.
LocalTransactionException(java.lang.String reason)
          Create an exception with a reason.
LocalTransactionException(java.lang.String reason, java.lang.String errorCode)
          Create an exception with a reason and an errorCode.
LocalTransactionException(java.lang.String reason, java.lang.Throwable cause)
          Create an exception with a reason and cause.
LocalTransactionException(java.lang.Throwable cause)
          Create an exception with a cause.
 
Methods inherited from class javax.resource.ResourceException (src)
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalTransactionException

public LocalTransactionException()
Create an exception.


LocalTransactionException

public LocalTransactionException(java.lang.String reason)
Create an exception with a reason.


LocalTransactionException

public LocalTransactionException(java.lang.String reason,
                                 java.lang.String errorCode)
Create an exception with a reason and an errorCode.


LocalTransactionException

public LocalTransactionException(java.lang.String reason,
                                 java.lang.Throwable cause)
Create an exception with a reason and cause.

Parameters:
reason - the reason
cause - the cause

LocalTransactionException

public LocalTransactionException(java.lang.Throwable cause)
Create an exception with a cause.

Parameters:
cause - the cause