|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.transaction Class RollbackException
java.lang.Object java.lang.Throwable java.lang.Exception javax.transaction.RollbackException
- All Implemented Interfaces:
- Serializable
public class RollbackException
- extends Exception
Extends:
Throwable > Exception
当事务被标记为只回滚或者事务已被回滚而不是被提交时,抛出 RollbackException 异常。这是一个由
UserTransaction
、Transaction
和 TransactionManager
接口中的方法抛出的本地异常。
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 | |
---|---|
RollbackException()
|
|
RollbackException(String msg)
|
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 |
---|
public
RollbackException()
英文文档:
RollbackException
public RollbackException()
public
RollbackException(String msg)
英文文档:
RollbackException
public RollbackException(String msg)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!