Package jakarta.transaction
Class TransactionRequiredException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.io.IOException
 - 
- java.rmi.RemoteException
 - 
- jakarta.transaction.TransactionRequiredException
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable
public class TransactionRequiredException extends RemoteException
This exception indicates that a request carried a null transaction context, but the target object requires an active transaction.- Version:
 - Jakarta Transactions 2.0
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
- 
Fields inherited from class java.rmi.RemoteException
detail 
 - 
 
- 
Constructor Summary
Constructors Constructor Description TransactionRequiredException()TransactionRequiredException(String msg) 
- 
Method Summary
- 
Methods inherited from class java.rmi.RemoteException
getCause, getMessage 
- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
TransactionRequiredException
public TransactionRequiredException()
 
- 
TransactionRequiredException
public TransactionRequiredException(String msg)
 
 - 
 
 -