* @return syntax exception
*/
public static EPStatementSyntaxException convertStatement(RecognitionException e, String expression, boolean addPleaseCheck, EsperEPL2GrammarParser parser)
{
UniformPair<String> pair = convert(e, expression, addPleaseCheck, parser);
return new EPStatementSyntaxException(pair.getFirst(), pair.getSecond());
}