Class TransactionRequiredException



  • 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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TransactionRequiredException​()
      Constructs a new TransactionRequiredException exception with null as its detail message.
      TransactionRequiredException​(java.lang.String message)
      Constructs a new TransactionRequiredException exception with the specified detail message.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    • Constructor Detail

      • TransactionRequiredException

        public TransactionRequiredException​()
        Constructs a new TransactionRequiredException exception with null as its detail message.
      • TransactionRequiredException

        public TransactionRequiredException​(java.lang.String message)
        Constructs a new TransactionRequiredException exception with the specified detail message.
        Parameters:
        message - the detail message.