Package jakarta.ejb
Class EJBTransactionRequiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.ejb.EJBException
jakarta.ejb.EJBTransactionRequiredException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorDescriptionConstructs an EJBTransactionRequiredException with no detail message.EJBTransactionRequiredException
(String message) Constructs an EJBTransactionRequiredException with the specified detailed message. -
Method Summary
Methods inherited from class jakarta.ejb.EJBException
getCausedByException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EJBTransactionRequiredException
public EJBTransactionRequiredException()Constructs an EJBTransactionRequiredException with no detail message. -
EJBTransactionRequiredException
Constructs an EJBTransactionRequiredException with the specified detailed message.- Parameters:
message
- aString
object.
-