com.metamatrix.common.transaction
Class TransactionNotSupportedException

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
                      extended by com.metamatrix.common.transaction.TransactionNotSupportedException
All Implemented Interfaces:
java.io.Serializable

public class TransactionNotSupportedException
extends TransactionException

TransactionNotSupportedException exception indicates that the request cannot be executed because the transaction operation is not a supported feature. For example, the Transaction Manager throws this exception when a calling thread attempts to start a new transaction when the thread is already associated with a transaction because nested transaction is not supported.

See Also:
Serialized Form

Constructor Summary
TransactionNotSupportedException()
          No-Arg Constructor
TransactionNotSupportedException(java.lang.Exception e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
TransactionNotSupportedException(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.
TransactionNotSupportedException(java.lang.String message)
          Construct an instance with the message specified.
TransactionNotSupportedException(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, getCode, getFullMessage, getMessage, readExternal, setCode, toString, writeExternal
 
Methods inherited from class com.metamatrix.core.MetaMatrixCoreException
getCause, initCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionNotSupportedException

public TransactionNotSupportedException()
No-Arg Constructor


TransactionNotSupportedException

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

Parameters:
message - A message describing the exception

TransactionNotSupportedException

public TransactionNotSupportedException(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

TransactionNotSupportedException

public TransactionNotSupportedException(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

TransactionNotSupportedException

public TransactionNotSupportedException(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.