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

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


javax.transaction
Class RollbackException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.transaction.RollbackException
All Implemented Interfaces:
Serializable

public class RollbackException
extends Exception

The RollbackException exception indicates that either the transaction has been rolled back or an operation cannot complete because the transaction is marked for rollback only.

It is thrown under two circumstances:

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

Constructor Summary
RollbackException()
          Creates a new RollbackException without a detail message.
RollbackException(String msg)
          Constructs an RollbackException with the specified detail message.
 
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

RollbackException

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


RollbackException

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

Parameters:
msg - the detail message.


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