javax.ejb

Class EJBTransactionRequiredException

Implemented Interfaces:
Serializable

public class EJBTransactionRequiredException
extends EJBException

The main ejb context.
See Also:
Serialized Form

Constructor Summary

EJBTransactionRequiredException()
EJBTransactionRequiredException(String msg)

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

EJBTransactionRequiredException

public EJBTransactionRequiredException()
Usages and Demos :

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

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

View Full Code Here

EJBTransactionRequiredException

public EJBTransactionRequiredException(String msg)