|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ErrorReporter
Error reporter hold all error messages placed by ANTLR lexer and parser.
Created by The eXo Platform SAS Author : Sergey Karpenko
Method Summary
voidclear()
Clear all message and exceptions lists.
InvalidQueryExceptiongetException()
Return all error messages as a single InvalidQueryException.
booleanhasErrors()
Return true if ErrorReporter hold any error message.
voidreportException(Exception e)
Save exception.
voidreportMessage(String msg)
Save error message in ErrorReporter.
Method Detail
getException
InvalidQueryException getException()
hasErrors
boolean hasErrors()
reportMessage
void reportMessage(String msg)
msg - Error message.
reportException
void reportException(Exception e)
e - Exception
clear
void clear()
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2010 eXo Platform SAS. All Rights Reserved.