|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.parse.ExceptionConvertor
public class ExceptionConvertor
Converts recognition exceptions.
Field Summary | |
---|---|
protected static java.lang.String |
END_OF_INPUT_TEXT
|
Constructor Summary | |
---|---|
ExceptionConvertor()
|
Method Summary | |
---|---|
static UniformPair<java.lang.String> |
convert(org.antlr.v4.runtime.RecognitionException e,
java.lang.String expression,
boolean addPleaseCheck,
EsperEPL2GrammarParser parser)
Converts from a syntax error to a nice exception. |
static PropertyAccessException |
convertProperty(org.antlr.v4.runtime.RecognitionException e,
java.lang.String expression,
boolean addPleaseCheck,
EsperEPL2GrammarParser parser)
Converts from a syntax error to a nice property exception. |
static EPStatementSyntaxException |
convertStatement(org.antlr.v4.runtime.RecognitionException e,
java.lang.String expression,
boolean addPleaseCheck,
EsperEPL2GrammarParser parser)
Converts from a syntax error to a nice statement exception. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String END_OF_INPUT_TEXT
Constructor Detail |
---|
public ExceptionConvertor()
Method Detail |
---|
public static EPStatementSyntaxException convertStatement(org.antlr.v4.runtime.RecognitionException e, java.lang.String expression, boolean addPleaseCheck, EsperEPL2GrammarParser parser)
e
- is the syntax errorexpression
- is the expression textparser
- the parser that parsed the expressionaddPleaseCheck
- indicates to add "please check" paraphrases
public static PropertyAccessException convertProperty(org.antlr.v4.runtime.RecognitionException e, java.lang.String expression, boolean addPleaseCheck, EsperEPL2GrammarParser parser)
e
- is the syntax errorexpression
- is the expression textparser
- the parser that parsed the expressionaddPleaseCheck
- indicates to add "please check" paraphrases
public static UniformPair<java.lang.String> convert(org.antlr.v4.runtime.RecognitionException e, java.lang.String expression, boolean addPleaseCheck, EsperEPL2GrammarParser parser)
e
- is the syntax errorexpression
- is the expression textparser
- the parser that parsed the expressionaddPleaseCheck
- indicates to add "please check" paraphrases
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |