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

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


javax.transaction
Class TransactionRequiredException

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

public class TransactionRequiredException
extends RemoteException

This exception indicates that a remote invocation request carried a null transaction context, but that an active transaction context was needed.

Version:
$Revision: 1.2 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
TransactionRequiredException()
          Creates a new TransactionRequiredException without a detail message.
TransactionRequiredException(String msg)
          Constructs an TransactionRequiredException 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

TransactionRequiredException

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


TransactionRequiredException

public TransactionRequiredException(String msg)
Constructs an TransactionRequiredException with the specified detail message.

Parameters:
msg - the detail message.


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