Top Description Fields Constructors Methods
org.hibernate.hql.ast

public Class ErrorCounter

extends Object
implements ParseErrorHandler
Class Inheritance
All Implemented Interfaces
org.hibernate.hql.ast.ParseErrorHandler, org.hibernate.hql.ast.ErrorReporter
Imports
antlr.RecognitionException, org.slf4j.Logger, .LoggerFactory, org.hibernate.QueryException, java.util.ArrayList, .Iterator, .List

An error handler that counts parsing errors and warnings.

Field Summary

Modifier and TypeField and Description
private List<E>
private Logger
private Logger
private List<E>
private List<E>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
private String
public void
public void
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

errorListback to summary
private List<E> errorList
hqlLogback to summary
private Logger hqlLog
logback to summary
private Logger log
recognitionExceptionsback to summary
private List<E> recognitionExceptions
warningListback to summary
private List<E> warningList

Constructor Detail

ErrorCounterback to summary
public ErrorCounter()

Method Detail

getErrorCountback to summary
public int getErrorCount()

Implements org.hibernate.hql.ast.ParseErrorHandler.getErrorCount.

getErrorStringback to summary
private String getErrorString()
reportErrorback to summary
public void reportError(RecognitionException e)

Implements org.hibernate.hql.ast.ErrorReporter.reportError.

reportErrorback to summary
public void reportError(String message)

Implements org.hibernate.hql.ast.ErrorReporter.reportError.

reportWarningback to summary
public void reportWarning(String message)

Implements org.hibernate.hql.ast.ErrorReporter.reportWarning.

throwQueryExceptionback to summary
public void throwQueryException() throws QueryException

Implements org.hibernate.hql.ast.ParseErrorHandler.throwQueryException.