Class EntityNotFoundException

All Implemented Interfaces:
Serializable

public class EntityNotFoundException extends PersistenceException
Thrown by the persistence provider when:

If the persistence context is joined to an active transaction, the transaction is automatically marked for rollback when this exception is thrown.

Since:
1.0
See Also:
  • Constructor Details

    • EntityNotFoundException

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

      public EntityNotFoundException(Exception cause)
      Constructs a new EntityNotFoundException exception with null as its detail message.
    • EntityNotFoundException

      public EntityNotFoundException(String message)
      Constructs a new EntityNotFoundException exception with the specified detail message.
      Parameters:
      message - the detail message.
    • EntityNotFoundException

      public EntityNotFoundException(String message, Exception cause)
      Constructs a new EntityNotFoundException exception with the specified detail message.
      Parameters:
      message - the detail message.