Package org.hibernate.query.sqm
Class UnknownPathException
-
- All Implemented Interfaces:
Serializable
public class UnknownPathException extends PathException
Indicates a failure to resolve an element of a path expression in HQL/JPQL.- See Also:
PathElementException
,TerminalPathException
, Serialized Form- 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
Constructors Constructor Description UnknownPathException(String message)
UnknownPathException(String message, String hql, Exception cause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnknownPathException
unknownSubPath(SqmPath base, String name)
-
Methods inherited from class org.hibernate.QueryException
generateQueryException, getMessage, getOriginalMessage, getQueryString, wrapWithQueryString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-