javax.ejb

## Class EJBTransactionRequiredException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - javax.ejb.EJBException
        - - 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.
  Since:
    EJB 3.0
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `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`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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(String message)

      Constructs an EJBTransactionRequiredException with the specified detailed message.

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