JavaTM Platform
Standard Ed. 6

javax.transaction
类 TransactionRequiredException

java.lang.Object
  继承者 java.lang.Throwable
      继承者 java.lang.Exception
          继承者 java.io.IOException
              继承者 java.rmi.RemoteException
                  继承者 javax.transaction.TransactionRequiredException
所有已实现的接口:
Serializable

public class TransactionRequiredException
extends RemoteException

此异常指示某个请求带来了 null 事务上下文,但目标对象需要激活的事务。

另请参见:
序列化表格

字段摘要
 
从类 java.rmi.RemoteException 继承的字段
detail
 
构造方法摘要
TransactionRequiredException()
           
TransactionRequiredException(String msg)
           
 
方法摘要
 
从类 java.rmi.RemoteException 继承的方法
getCause, getMessage
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

TransactionRequiredException

public TransactionRequiredException()

TransactionRequiredException

public TransactionRequiredException(String msg)

JavaTM Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策