javax.ejb
Class TransactionRolledbackLocalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.ejb.EJBException
                  extended by javax.ejb.TransactionRolledbackLocalException
All Implemented Interfaces:
java.io.Serializable

public class TransactionRolledbackLocalException
extends EJBException

This exception indicates that the transaction associated with processing of the request has been rolled back, or marked to roll back. Thus the requested operation either could not be performed or was not performed because further computation on behalf of the transaction would be fruitless

Author:
Florent Benoit
See Also:
EJB 3.0 specification, Serialized Form

Constructor Summary
TransactionRolledbackLocalException()
          Default constructor : builds an exception with an empty message.
TransactionRolledbackLocalException(java.lang.String message)
          Build an exception with the given message.
TransactionRolledbackLocalException(java.lang.String message, java.lang.Exception causedByException)
          Builds an exception with a given message and given exception.
 
Method Summary
 
Methods inherited from class javax.ejb.EJBException
getCausedByException, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionRolledbackLocalException

public TransactionRolledbackLocalException()
Default constructor : builds an exception with an empty message.


TransactionRolledbackLocalException

public TransactionRolledbackLocalException(java.lang.String message)
Build an exception with the given message.

Parameters:
message - the given message to use.

TransactionRolledbackLocalException

public TransactionRolledbackLocalException(java.lang.String message,
                                           java.lang.Exception causedByException)
Builds an exception with a given message and given exception.

Parameters:
message - the message of this exception.
causedByException - the cause of this exception.


Copyright © 2008. All Rights Reserved.