Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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:
  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: 1.2 $
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.

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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