Class UnknownEntityException

All Implemented Interfaces:
Serializable

public class UnknownEntityException extends SemanticException
Indicates a failure to resolve an entity name in HQL to a known mapped entity type.
See Also:
API Note:
The JPA criteria API requires that this problem be reported as an IllegalArgumentException, and so we usually throw EntityTypeException from the SQM objects, and then wrap as an instance of this exception type in the HqlTranslator.
  • Constructor Details

    • UnknownEntityException

      public UnknownEntityException(String entityName)
    • UnknownEntityException

      public UnknownEntityException(String message, String entityName)
    • UnknownEntityException

      public UnknownEntityException(String message, String entityName, Exception cause)
  • Method Details

    • getEntityName

      public String getEntityName()