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:
    Serialized Form
    API Note:
    extends IllegalArgumentException to satisfy a questionable requirement of the JPA criteria query API
    • Constructor Detail

      • EntityTypeException

        public EntityTypeException​(String message,
                                   String reference)
    • Method Detail

      • getReference

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