javax.ejb

Class TransactionRequiredLocalException

Implemented Interfaces:
Serializable

public class TransactionRequiredLocalException
extends EJBException

The main ejb context.
See Also:
Serialized Form

Constructor Summary

TransactionRequiredLocalException()
TransactionRequiredLocalException(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

TransactionRequiredLocalException

public TransactionRequiredLocalException()
Usages and Demos :

View More Examples of TransactionRequiredLocalException()
   1:                     if (mi.m_isLocal) {
   2:                         throw new javax.ejb.TransactionRequiredLocalException();
   3:                     } else {
   4:                         throw new javax.transaction.TransactionRequiredException();
   5:                     }

View Full Code Here
   1:                 if ( isNullTx || status == Status.STATUS_NO_TRANSACTION )
   2:                     throw new TransactionRequiredLocalException();
   3:                 
   4:         ...
   5:                 if ( isNullTx )
   6:                     throw new TransactionRequiredLocalException();
   7:                 
   8:         ...
   9:                 if ( isNullTx )
  10:                     throw new TransactionRequiredLocalException();
  11:                 

View Full Code Here

TransactionRequiredLocalException

public TransactionRequiredLocalException(String msg)
Usages and Demos :

View More Examples of TransactionRequiredLocalException(String msg)
   1:       {
   2:          throw new TransactionRequiredLocalException(tre.getMessage());
   3:       }
   4:         ...
   5:       {
   6:          throw new TransactionRequiredLocalException(tre.getMessage());
   7:       }
   8:       catch (TransactionRolledbackException trbe)
   9:       {

View Full Code Here