com.metamatrix.common.transaction
Class TransactionException

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.common.transaction.TransactionException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TransactionNotSupportedException

public class TransactionException
extends MetaMatrixException

TransactionException exception indicates that the request cannot be executed because of an error with the transaction.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.core.MetaMatrixCoreException
code
 
Constructor Summary
TransactionException()
          No-Arg Constructor
TransactionException(java.lang.Exception e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
TransactionException(java.lang.Exception e, java.lang.String code, java.lang.String message)
          Construct an instance from a message and a code and an exception to chain to this one.
TransactionException(java.lang.String message)
          Construct an instance with the message specified.
TransactionException(java.lang.String code, java.lang.String message)
          Construct an instance with the message and error code specified.
 
Method Summary
 
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

TransactionException

public TransactionException()
No-Arg Constructor


TransactionException

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

Parameters:
message - A message describing the exception

TransactionException

public TransactionException(java.lang.String 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

TransactionException

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

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

TransactionException

public TransactionException(java.lang.Exception e,
                            java.lang.String 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


Copyright © 2009. All Rights Reserved.