javax.ejb
Class TransactionRequiredLocalException

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

public class TransactionRequiredLocalException
extends EJBException

This exception indicates that a request carried a null transaction context, but the target object requires an active transaction.

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

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

TransactionRequiredLocalException

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


TransactionRequiredLocalException

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

Parameters:
message - the given message to use.


Copyright © 2008. All Rights Reserved.