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
IllegalArgumentException
orIllegalStateException
, and so we usually throwPathElementException
orTerminalPathException
from 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 UnknownPathException
unknownSubPath
(SqmPath base, String name) Methods inherited from class org.hibernate.QueryException
getMessage, getOriginalMessage, getQueryString
Methods 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
-