Class EntityTypeException

All Implemented Interfaces:
Serializable

public class EntityTypeException extends IllegalArgumentException
Indicates that a reference to an entity, that is, a given entity name or Java class object, did not resolve to a known mapped entity type.
Since:
6.3
See Also:
API Note:
extends IllegalArgumentException to satisfy a questionable requirement of the JPA criteria query API
  • Constructor Details

    • EntityTypeException

      public EntityTypeException(String message, String reference)
  • Method Details

    • getReference

      public String getReference()
      The entity name or the name of the Java class.