Package javax.persistence
Class TransactionRequiredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- javax.persistence.TransactionRequiredException
-
- All Implemented Interfaces:
java.io.Serializable
public class TransactionRequiredException extends PersistenceException
Thrown by the persistence provider when a transaction is required but is not active.- See Also:
- Serialized Form
- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description TransactionRequiredException()
Constructs a newTransactionRequiredException
exception withnull
as its detail message.TransactionRequiredException(java.lang.String message)
Constructs a newTransactionRequiredException
exception with the specified detail message.
-
-
-
Constructor Detail
-
TransactionRequiredException
public TransactionRequiredException()
Constructs a newTransactionRequiredException
exception withnull
as its detail message.
-
TransactionRequiredException
public TransactionRequiredException(java.lang.String message)
Constructs a newTransactionRequiredException
exception with the specified detail message.- Parameters:
message
- the detail message.
-
-