Class EntityTypeException

  • All Implemented Interfaces:

    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.
    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.