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
Methods inherited from class QueryException
getMessage, getOriginalMessage, getQueryStringMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownPathException
-
UnknownPathException
-