Package org.hibernate.query
Class SyntaxException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.QueryException
-
- org.hibernate.query.SyntaxException
-
- All Implemented Interfaces:
Serializable
public class SyntaxException extends QueryException
Represents a syntax error in a HQL/JPQL query.- Since:
- 6.3
- See Also:
SemanticException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SyntaxException(String message)
SyntaxException(String message, String queryString)
-
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
-
-