Package jakarta.ejb
Class TransactionRequiredLocalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.ejb.EJBException
jakarta.ejb.TransactionRequiredLocalException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorDescriptionConstructs a TransactionRequiredLocalException with no detail message.TransactionRequiredLocalException
(String message) Constructs an TransactionRequiredLocalException 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
-
TransactionRequiredLocalException
public TransactionRequiredLocalException()Constructs a TransactionRequiredLocalException with no detail message. -
TransactionRequiredLocalException
Constructs an TransactionRequiredLocalException with the specified detailed message.- Parameters:
message
- aString
object.
-