|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.espertech.esper.client.EPException
com.espertech.esper.client.EPStatementException
com.espertech.esper.epl.parse.EPStatementSyntaxException
public class EPStatementSyntaxException
This exception is thrown to indicate a problem in statement creation.
Constructor Summary | |
---|---|
EPStatementSyntaxException(String message,
String expression)
Ctor. |
Method Summary | |
---|---|
static EPStatementSyntaxException |
convert(org.antlr.runtime.RecognitionException e,
String expression,
EsperEPL2Ast treeWalker)
Converts from a syntax error to a nice statement exception. |
static EPStatementSyntaxException |
convert(org.antlr.runtime.RecognitionException e,
String expression,
EsperEPL2GrammarParser parser)
Converts from a syntax error to a nice statement exception. |
Methods inherited from class com.espertech.esper.client.EPStatementException |
---|
getExpression, getMessage, setExpression |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EPStatementSyntaxException(String message, String expression)
message
- - error messageexpression
- - expression textMethod Detail |
---|
public static EPStatementSyntaxException convert(org.antlr.runtime.RecognitionException e, String expression, EsperEPL2GrammarParser parser)
e
- is the syntax errorexpression
- is the expression textparser
- the parser that parsed the expression
public static EPStatementSyntaxException convert(org.antlr.runtime.RecognitionException e, String expression, EsperEPL2Ast treeWalker)
e
- is the syntax errorexpression
- is the expression texttreeWalker
- the tree walker that walked the tree
|
© 2007 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 |