RollbackException (Java EE 5)

Java EE API


javax.transaction Class RollbackException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.transaction.RollbackException
All Implemented Interfaces:
Serializable

public class RollbackException
extends Exception

Extends: Throwable > Exception

当事务被标记为只回滚或者事务已被回滚而不是被提交时,抛出 RollbackException 异常。这是一个由 UserTransactionTransactionTransactionManager 接口中的方法抛出的本地异常。
英文文档:

RollbackException exception is thrown when the transaction has been marked for rollback only or the transaction has been rolled back instead of committed. This is a local exception thrown by methods in the UserTransaction, Transaction, and TransactionManager interfaces.

See Also:
Serialized Form

Constructor Summary
 
Method Summary
 
Methods inherited from class java.lang.Throwable
 
Methods inherited from class java.lang.Object
 

Constructor Detail

public RollbackException()
英文文档:

RollbackException

public RollbackException()

public RollbackException(String msg)
英文文档:

RollbackException

public RollbackException(String msg)


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!