Package org.hibernate.query
Class SemanticException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.QueryException
org.hibernate.query.SemanticException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AliasCollisionException
,FunctionArgumentException
,LiteralNumberFormatException
,NotIndexedCollectionException
,ParameterLabelException
,PathException
,StrictJpaComplianceViolation
,UnknownEntityException
Represents an error in the semantics (meaning) of a HQL/JPQL query.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSemanticException
(String message) Deprecated.this constructor does not carry information about the query which caused the failureSemanticException
(String message, Exception cause) Deprecated.this constructor does not carry information about the query which caused the failureSemanticException
(String message, String queryString) SemanticException
(String message, String queryString, Exception cause) -
Method Summary
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
-
SemanticException
Deprecated.this constructor does not carry information about the query which caused the failure -
SemanticException
Deprecated.this constructor does not carry information about the query which caused the failure -
SemanticException
-
SemanticException
-