Class EntityNotFoundException

All Implemented Interfaces:
Serializable

public class EntityNotFoundException extends OWLPersistenceException
Thrown by the persistence provider when an entity reference obtained by EntityManager.getReference(Class, Object) is accessed but the entity does not exist. Thrown when EntityManager.refresh(java.lang.Object) is called and the object no longer exists in the database.

The current transaction, if one is active and the persistence context has been joined to it, will be marked for rollback.

See Also:
  • Constructor Details

    • EntityNotFoundException

      public EntityNotFoundException(String message)