javax.transaction
Class TransactionRolledbackException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjava.rmi.RemoteException
                  extended byjavax.transaction.TransactionRolledbackException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
JBossTransactionRolledbackException (src)

public class TransactionRolledbackException
extends java.rmi.RemoteException

This exception indicates that the transaction context carried in the remote invocation has been rolled back, or was marked for roll back only. This indicates to the client that further computation on behalf of this transaction would be fruitless.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
TransactionRolledbackException()
          Creates a new TransactionRolledbackException without a detail message.
TransactionRolledbackException(java.lang.String msg)
          Constructs an TransactionRolledbackException with the specified detail message.
 
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, 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

TransactionRolledbackException

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


TransactionRolledbackException

public TransactionRolledbackException(java.lang.String msg)
Constructs an TransactionRolledbackException with the specified detail message.

Parameters:
msg - the detail message.