Package org.hibernate.query
Class SyntaxException
- All Implemented Interfaces:
Serializable
public classSyntaxExceptionextendsQueryException
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