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

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.

Author:
Guillaume Sauthier
See Also:
Serialized Form

Constructor Summary
RollbackException()
          Creates a new RollbackException.
RollbackException(String msg)
          Creates a new RollbackException.
 
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

RollbackException

public RollbackException()
Creates a new RollbackException.


RollbackException

public RollbackException(String msg)
Creates a new RollbackException.

Parameters:
msg - Exception message


Copyright © 2007-2011 OW2 Consortium. All Rights Reserved.