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, @Nullable Exception cause) Deprecated.this constructor does not carry information about the query which caused the failureSemanticException(String message, @Nullable String queryString) SemanticException(String message, @Nullable String queryString, @Nullable Exception cause) -
Method Summary
Methods inherited from class QueryException
getMessage, getOriginalMessage, getQueryStringMethods inherited from class 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
-