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:
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
-
-
Constructor Summary
Constructors Constructor Description EJBTransactionRequiredException()
Constructs an EJBTransactionRequiredException with no detail message.EJBTransactionRequiredException(java.lang.String message)
Constructs an EJBTransactionRequiredException with the specified detailed message.
-
Method Summary
-
Methods inherited from class jakarta.ejb.EJBException
getCausedByException
-
-
-
-
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
- aString
object.
-
-