Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.hql.ast
Class QuerySyntaxException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  org.hibernate.exception.NestableRuntimeException
                      org.hibernate.HibernateException
                          org.hibernate.QueryException
                              org.hibernate.hql.ast.QuerySyntaxException

All Implemented Interfaces:
  Serializable, Nestable

Direct Known Subclasses:
  InvalidWithClauseException

    public class QuerySyntaxException

extends QueryException

Exception thrown when there is a syntax error in the HQL.

Author:
  josh
See Also:
  Serialized Form

Field Summary

Fields inherited from class org.hibernate.exception.NestableRuntimeException
`delegate`

Constructor Summary
`QuerySyntaxException(String message)`
`QuerySyntaxException(String message, String hql)`

Method Summary
`static QuerySyntaxException` | `convert(antlr.RecognitionException e)`
`static QuerySyntaxException` | `convert(antlr.RecognitionException e, String hql)`

Methods inherited from class org.hibernate.QueryException
`getMessage, getQueryString, setQueryString`

Methods inherited from class org.hibernate.exception.NestableRuntimeException
`getCause, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### QuerySyntaxException

    public QuerySyntaxException(String message)

### QuerySyntaxException

    public QuerySyntaxException(String message,
                                String hql)

Method Detail

### convert

    public static QuerySyntaxException convert(antlr.RecognitionException e)

### convert

    public static QuerySyntaxException convert(antlr.RecognitionException e,
                                               String hql)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD