站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

InvalidTransactionException (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


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:
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.


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