Java EE 5 SDK

javax.ejb
Class EJBTransactionRequiredException

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.EJBTransactionRequiredException
All Implemented Interfaces:
Serializable

public class EJBTransactionRequiredException
extends EJBException

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

See Also:
Serialized Form

Constructor Summary
EJBTransactionRequiredException()
          Constructs an EJBTransactionRequiredException with no detail message.
EJBTransactionRequiredException(String message)
          Constructs an EJBTransactionRequiredException with the specified detailed 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

EJBTransactionRequiredException

public EJBTransactionRequiredException()
Constructs an EJBTransactionRequiredException with no detail message.


EJBTransactionRequiredException

public EJBTransactionRequiredException(String message)
Constructs an EJBTransactionRequiredException with the specified detailed message.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.