javax.transaction
Class InvalidTransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
javax.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
Fields inherited from class java.rmi.RemoteException |
detail |
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 |
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.