}
parser.setUp(ontology, configuration);
return parser.parse();
}
catch (ParseException e) {
throw new OWLParserException(e.getMessage(), e.currentToken.beginLine, e.currentToken.beginColumn);
} finally {
if (is != null) {
is.close();
} else if (reader != null) {
reader.close();