Package jakarta.ejb

Class EJBTransactionRequiredException

  • All Implemented Interfaces:
    java.io.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
    • Method Summary

      • 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​(java.lang.String message)
        Constructs an EJBTransactionRequiredException with the specified detailed message.
        Parameters:
        message - a String object.