javax.transaction
Class InvalidTransactionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjava.rmi.RemoteException
                  extended byjavax.transaction.InvalidTransactionException
All Implemented Interfaces:
java.io.Serializable

public class InvalidTransactionException
extends java.rmi.RemoteException

This exception indicates an invalid transaction.

It is thrown from the TransactionManager.resume(Transaction) method if the argument is not a valid transaction. It may also be thrown from an EJB container invocation is the invocation request carries an invalid transaction propagation context.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
InvalidTransactionException()
          Creates a new InvalidTransactionException without a detail message.
InvalidTransactionException(java.lang.String msg)
          Constructs an InvalidTransactionException with the specified detail message.
 
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

InvalidTransactionException

public InvalidTransactionException()
Creates a new InvalidTransactionException without a detail message.


InvalidTransactionException

public InvalidTransactionException(java.lang.String msg)
Constructs an InvalidTransactionException with the specified detail message.

Parameters:
msg - the detail message.