Package org.hibernate.query.sqm
Class UnknownPathException
- All Implemented Interfaces:
Serializable
Indicates a failure to resolve an element of a path expression in HQL/JPQL.
- See Also:
- API Note:
- The JPA criteria API requires that this sort of problem be reported
as an
IllegalArgumentExceptionorIllegalStateException, and so we usually throwPathElementExceptionorTerminalPathExceptionfrom the SQM objects, and then wrap as an instance of this exception type in theHqlTranslator.
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownPathException(String message) UnknownPathException(String message, String hql, Exception cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic UnknownPathExceptionunknownSubPath(SqmPath base, String name) Methods inherited from class org.hibernate.QueryException
getMessage, getOriginalMessage, getQueryStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownPathException
-
UnknownPathException
-
-
Method Details
-
unknownSubPath
-