org.hibernate.hql.ast
Class QuerySyntaxException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.hibernate.exception.NestableRuntimeException
                  extended by org.hibernate.HibernateException
                      extended by org.hibernate.QueryException
                          extended by 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)