Top Description Constructors Methods
org.hibernate.query.sqm

public Class UnknownPathException

extends PathException
Class Inheritance
Imports
java.util.Locale, org.hibernate.query.PathException, org.hibernate.query.sqm.tree.domain.SqmPath

Indicates a failure to resolve an element of a path expression in HQL/JPQL.

API Note

The JPA criteria API requires that this sort of problem be reported as an IllegalArgumentException or IllegalStateException, and so we usually throw PathElementException or TerminalPathException from the SQM objects, and then wrap as an instance of this exception type in the org.hibernate.query.hql.HqlTranslator.

Author
Steve Ebersole
See Also
PathElementException, TerminalPathException

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public static UnknownPathException
unknownSubPath(SqmPath<T> base, String name)

Constructor Detail

UnknownPathExceptionback to summary
public UnknownPathException(String message)
UnknownPathExceptionback to summary
public UnknownPathException(String message, String hql, Exception cause)

Method Detail

unknownSubPathback to summary
public static UnknownPathException unknownSubPath(SqmPath<T> base, String name)