private void error(String message) { throw new OBOFormatParserException(message, stream.lineNo, stream.line); }
@Override public String toString() { return getMessage(); } }
private void error(String message) { throw new OBOFormatParserException(message, stream.lineNo, stream.line); }
@Override public String toString() { return getMessage(); } }
private void error(String message) { throw new OBOFormatParserException(message, stream.lineNo, stream.line); }
@Override public String toString() { return getMessage(); } }
private void error(String message) { throw new OBOFormatParserException(message, stream.lineNo, stream.line); }
@Override public String toString() { return getMessage(); } }
private void error(String message) throws OBOFormatParserException { throw new OBOFormatParserException(message, s.lineNo, s.line); }
@Override public String toString() { return getMessage(); }
public void advanceLine() { try { line = verifyNotNull(reader, "reader must be set before accessing it").readLine(); lineNo++; pos = 0; } catch (IOException e) { throw new OBOFormatParserException(e, lineNo, "Error reading from input."); } }
public void advanceLine() { try { line = verifyNotNull(reader, "reader must be set before accessing it").readLine(); lineNo++; pos = 0; } catch (IOException e) { throw new OBOFormatParserException(e, lineNo, "Error reading from input."); } }
public void advanceLine() { try { line = verifyNotNull(reader, "reader must be set before accessing it").readLine(); lineNo++; pos = 0; } catch (IOException e) { throw new OBOFormatParserException(e, lineNo, "Error reading from input."); } }
public void advanceLine() { try { line = verifyNotNull(reader, "reader must be set before accessing it").readLine(); lineNo++; pos = 0; } catch (IOException e) { throw new OBOFormatParserException(e, lineNo, "Error reading from input."); } }
private void parseHeaderDate(Clause cl) throws OBOFormatParserException { parseZeroOrMoreWs(); String v = getParseUntil("!"); v = removeTrailingWS(v); try { Date date = OBOFormatConstants.headerDateFormat.get().parse(v); cl.addValue(date); } catch (ParseException e) { throw new OBOFormatParserException("Could not parse date from string: "+v, e, s.lineNo, s.line); } }
private void parseHeaderDate(Clause cl) { parseZeroOrMoreWs(); String v = getParseUntil("!"); v = removeTrailingWS(v); try { Date date = OBOFormatConstants.headerDateFormat().parse(v); cl.addValue(date); } catch (ParseException e) { throw new OBOFormatParserException("Could not parse date from string: " + v, e, stream.lineNo, stream.line); } }
private void parseHeaderDate(Clause cl) { parseZeroOrMoreWs(); String v = getParseUntil("!"); v = removeTrailingWS(v); try { Date date = OBOFormatConstants.headerDateFormat().parse(v); cl.addValue(date); } catch (ParseException e) { throw new OBOFormatParserException("Could not parse date from string: " + v, e, stream.lineNo, stream.line); } }
private void parseHeaderDate(Clause cl) { parseZeroOrMoreWs(); String v = getParseUntil("!"); v = removeTrailingWS(v); try { Date date = OBOFormatConstants.headerDateFormat().parse(v); cl.addValue(date); } catch (ParseException e) { throw new OBOFormatParserException("Could not parse date from string: " + v, e, stream.lineNo, stream.line); } }
private void parseHeaderDate(Clause cl) { parseZeroOrMoreWs(); String v = getParseUntil("!"); v = removeTrailingWS(v); try { Date date = OBOFormatConstants.headerDateFormat().parse(v); cl.addValue(date); } catch (ParseException e) { throw new OBOFormatParserException("Could not parse date from string: " + v, e, stream.lineNo, stream.line); } }
obodoc.addFrame(f); } catch (FrameMergeException e) { throw new OBOFormatParserException("Could not add frame "+f+" to document, duplicate frame definition?", e, s.lineNo, s.line);