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
,LiteralNumberFormatException
,NotIndexedCollectionException
,StrictJpaComplianceViolation
,UnknownEntityException
,UnknownPathException
public class SemanticException extends QueryException
Represents an error in the semantics (meaning) of the passed query. Generally speaking, this is a user error of some sort.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SemanticException(String message)
SemanticException(String message, Exception cause)
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
-
-