javax.transaction
Class InvalidTransactionException

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

public class InvalidTransactionException
extends 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.

Version:
$Revision: 57196 $
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(String msg)
          Constructs an InvalidTransactionException with the specified detail message.
 
Method Summary
 
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(String msg)
Constructs an InvalidTransactionException with the specified detail message.

Parameters:
msg - the detail message.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.