@Test public void parseSelect_Error() { String sortExpression = "select (+employee.name) "; thrown.expect(SelectParsingException.class); new SelectTokenParserAdapter().parse(sortExpression); }
public SelectNodeList parse(String sortExpression) { try { return new SelectNodeList(createParser(sortExpression).parse()); } catch (ParseException | Error e) { throw new SelectParsingException(e); } }
SelectTokenParserAdapter { public SelectNodeList parse(String sortExpression) { try { return new SelectNodeList(createParser(sortExpression).parse()); } catch (ParseException | Error e) { throw new SelectParsingException(e); } } }
SelectTokenParserAdapter { public SelectNodeList parse(String sortExpression) { try { return new SelectNodeList(createParser(sortExpression).parse()); } catch (ParseException | Error e) { throw new SelectParsingException(e); } }  }
SelectTokenParserAdapter { public SelectNodeList parse(String sortExpression) { try { return new SelectNodeList(createParser(sortExpression).parse()); } catch (ParseException | Error e) { throw new SelectParsingException(e); } }  SelectNodeList parse(String sortExpression); }
SelectTokenParserAdapter { public SelectNodeList parse(String sortExpression) { try { return new SelectNodeList(createParser(sortExpression).parse()); } catch (ParseException | Error e) { throw new SelectParsingException(e); } }  SelectNodeList parse(String sortExpression);  }