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
public class SemanticException extends QueryException
Represents an error in the semantics (meaning) of a HQL/JPQL query.- See Also:
SyntaxException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SemanticException(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
generateQueryException, getMessage, getOriginalMessage, getQueryString, wrapWithQueryString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SemanticException
@Deprecated(since="6.3") public SemanticException(String message)
Deprecated.this constructor does not carry information about the query which caused the failure
-
SemanticException
@Deprecated(since="6.3") public SemanticException(String message, Exception cause)
Deprecated.this constructor does not carry information about the query which caused the failure
-
-