Class TransactionRequiredException

All Implemented Interfaces:
Serializable

public class TransactionRequiredException extends PersistenceException
Thrown by the persistence provider when a transaction is required but is not active.
Since:
Java Persistence 1.0
See Also:
  • Constructor Details

    • 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 - the detail message.