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:
java.io.Serializable

public class EJBTransactionRequiredException
extends EJBException

This exception is thrown to a remote client to indicate that a request carried a null transaction context, but the target object requires an active transaction.

Since:
EJB 2.0
See Also:
Serialized Form

Constructor Summary
EJBTransactionRequiredException()
          Constructs an EJBTransactionRequiredException with no detail message.
EJBTransactionRequiredException(java.lang.String message)
          Constructs an EJBTransactionRequiredException with the specified detailed message.
 
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EJBTransactionRequiredException

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


EJBTransactionRequiredException

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



Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41