javax.ejb

## Class TransactionRequiredLocalException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - javax.ejb.EJBException
        - - javax.ejb.TransactionRequiredLocalException

- All Implemented Interfaces:
    Serializable

      public class TransactionRequiredLocalException
      extends EJBException

  This exception is thrown to a local 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

    Constructors
    Constructor and Description
    `TransactionRequiredLocalException()` Constructs a TransactionRequiredLocalException with no detail message.
    `TransactionRequiredLocalException(String message)` Constructs an TransactionRequiredLocalException 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

    - #### TransactionRequiredLocalException

          public TransactionRequiredLocalException()

      Constructs a TransactionRequiredLocalException with no detail message.

    - #### TransactionRequiredLocalException

          public TransactionRequiredLocalException(String message)

      Constructs an TransactionRequiredLocalException with the specified detailed message.

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