Top Description Constructors Methods
org.hibernate.query

public Class SemanticException

extends QueryException
Class Inheritance
Known Direct Subclasses
org.hibernate.query.sqm.AliasCollisionException, org.hibernate.query.sqm.LiteralNumberFormatException, org.hibernate.query.sqm.StrictJpaComplianceViolation, org.hibernate.query.sqm.UnknownEntityException, org.hibernate.query.sqm.produce.function.FunctionArgumentException, org.hibernate.query.NotIndexedCollectionException, org.hibernate.query.ParameterLabelException, org.hibernate.query.PathException
Imports
org.hibernate.QueryException

Represents an error in the semantics (meaning) of a HQL/JPQL query.
Author
Steve Ebersole
See Also
SyntaxException

Constructor Summary

AccessConstructor and Description
public
SemanticException(String message)

Deprecated since 6.3. this constructor does not carry information about the query which caused the failure
public
SemanticException(String message, Exception cause)

Deprecated since 6.3. this constructor does not carry information about the query which caused the failure
public
SemanticException(String message, String queryString)

public
SemanticException(String message, String queryString, Exception cause)

Method Summary

Inherited from org.hibernate.QueryException:
generateQueryExceptiongetMessagegetOriginalMessagegetQueryStringwrapWithQueryString

Constructor Detail

SemanticExceptionback to summary
public SemanticException(String message)

Deprecated

since 6.3.

this constructor does not carry information about the query which caused the failure

Annotations
@Deprecated
since:6.3
SemanticExceptionback to summary
public SemanticException(String message, Exception cause)

Deprecated

since 6.3.

this constructor does not carry information about the query which caused the failure

Annotations
@Deprecated
since:6.3
SemanticExceptionback to summary
public SemanticException(String message, String queryString)
SemanticExceptionback to summary
public SemanticException(String message, String queryString, Exception cause)