javax.ejb
Class EJBTransactionRolledbackException

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.EJBTransactionRolledbackException
All Implemented Interfaces:
java.io.Serializable

public class EJBTransactionRolledbackException
extends EJBException

Current transaction has been rollbacked.

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

Constructor Summary
EJBTransactionRolledbackException()
          Default constructor : builds an exception with an empty message.
EJBTransactionRolledbackException(java.lang.String message)
          Build an exception with the given message.
EJBTransactionRolledbackException(java.lang.String message, java.lang.Exception causedByException)
          Build an exception with the 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

EJBTransactionRolledbackException

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


EJBTransactionRolledbackException

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

Parameters:
message - the given message to use.

EJBTransactionRolledbackException

public EJBTransactionRolledbackException(java.lang.String message,
                                         java.lang.Exception causedByException)
Build an exception with the given message and given exception.

Parameters:
message - the given message to use.
causedByException - the cause of this exception.


Copyright © 2008. All Rights Reserved.