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:
- Serializable
public class TransactionRequiredException
- extends PersistenceException
Thrown by the persistence provider when a transaction is required but is not active.
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
TransactionRequiredException
public TransactionRequiredException()
- Constructs a new TransactionRequiredException exception with null as its detail message
TransactionRequiredException
public TransactionRequiredException(String message)
- Constructs a new TransactionRequiredException exception with the specified detail message
- Parameters:
message
-