com.metamatrix.common.xa
Class XATransactionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.metamatrix.core.MetaMatrixCoreException
              extended by com.metamatrix.api.exception.MetaMatrixException
                  extended by com.metamatrix.api.exception.MetaMatrixProcessingException
                      extended by com.metamatrix.common.xa.XATransactionException
All Implemented Interfaces:
java.io.Serializable

public class XATransactionException
extends MetaMatrixProcessingException

Exception which occurs if an error occurs within the server that is XA transaction-related.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.core.MetaMatrixCoreException
code
 
Constructor Summary
XATransactionException()
          No-Arg Constructor
XATransactionException(int code, java.lang.String message)
          Construct an instance with the message and error code specified.
XATransactionException(java.lang.String message)
          Construct an instance with the message specified.
XATransactionException(java.lang.Throwable e)
          Construct an instance with a linked exception specified.
XATransactionException(java.lang.Throwable e, int code)
           
XATransactionException(java.lang.Throwable e, int code, java.lang.String message)
          Construct an instance from a message and a code and an exception to chain to this one.
XATransactionException(java.lang.Throwable e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
 
Method Summary
 javax.transaction.xa.XAException getXAException()
           
 
Methods inherited from class com.metamatrix.api.exception.MetaMatrixException
getChild, getFullMessage, toString
 
Methods inherited from class com.metamatrix.core.MetaMatrixCoreException
getCode, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XATransactionException

public XATransactionException()
No-Arg Constructor


XATransactionException

public XATransactionException(java.lang.String message)
Construct an instance with the message specified.

Parameters:
message - A message describing the exception

XATransactionException

public XATransactionException(java.lang.Throwable e)
Construct an instance with a linked exception specified.

Parameters:
e - An exception to chain to this exception

XATransactionException

public XATransactionException(int code,
                              java.lang.String message)
Construct an instance with the message and error code specified.

Parameters:
message - A message describing the exception
code - The error code

XATransactionException

public XATransactionException(java.lang.Throwable e,
                              java.lang.String message)
Construct an instance from a message and an exception to chain to this one.

Parameters:
e - An exception to nest within this one
message - A message describing the exception

XATransactionException

public XATransactionException(java.lang.Throwable e,
                              int code,
                              java.lang.String message)
Construct an instance from a message and a code and an exception to chain to this one.

Parameters:
e - An exception to nest within this one
message - A message describing the exception
code - A code denoting the exception

XATransactionException

public XATransactionException(java.lang.Throwable e,
                              int code)
Method Detail

getXAException

public javax.transaction.xa.XAException getXAException()


Copyright © 2009. All Rights Reserved.