javax.ejb

Class EJBTransactionRolledbackException

Implemented Interfaces:
Serializable

public class EJBTransactionRolledbackException
extends EJBException

The main ejb context.
See Also:
Serialized Form

Constructor Summary

EJBTransactionRolledbackException()
EJBTransactionRolledbackException(String msg)
EJBTransactionRolledbackException(String msg, Exception e)

Method Summary

Methods inherited from class javax.ejb.EJBException

getCausedByException

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, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

EJBTransactionRolledbackException

public EJBTransactionRolledbackException()
Usages and Demos :

View More Examples of EJBTransactionRolledbackException()
   1:             p.pln("} catch(javax.transaction.TransactionRolledbackException trex) {");
   2:             p.pln("\tjava.lang.RuntimeException r =  new javax.ejb.EJBTransactionRolledbackException();");
   3:             p.pln("\tr.initCause(trex);");
   4:             p.pln("\tthrow r;");

View Full Code Here
   1:         if( t instanceof TransactionRolledbackLocalException ) {
   2:             mappedException = new EJBTransactionRolledbackException();
   3:             mappedException.initCause(t);
   4:         } else if( t instanceof TransactionRequiredLocalException ) {
   5:             mappedException = new EJBTransactionRequiredException();

View Full Code Here

EJBTransactionRolledbackException

public EJBTransactionRolledbackException(String msg)

EJBTransactionRolledbackException

public EJBTransactionRolledbackException(String msg,
                                         Exception e)