public IExceptionEntry parseLine(String line) { IExceptionEntryProxy proxy = fParser.parseLine(line); return (proxy == null) ? null : new ExceptionEntry(proxy, getPOS()); } }
public IExceptionEntry getExceptionEntry(IExceptionEntryID id) { checkOpen(); IContentType<IExceptionEntryProxy> content = resolveExceptionContentType(id.getPOS()); IDataSource<IExceptionEntryProxy> file = provider.getSource(content); // fix for bug 010 if(file == null) return null; String line = file.getLine(id.getSurfaceForm()); if (line == null) return null; IExceptionEntryProxy proxy = content.getDataType().getParser().parseLine(line); if(proxy == null) return null; return new ExceptionEntry(proxy, id.getPOS()); }