} catch (final IOException e) {
System.err.println(e);
e.printStackTrace();
}
} else if (parserType == SesameParserType.RDFXML) {
final RDFXMLParser parser = new RDFXMLParser();
parser.setRDFHandler(handler);
try {
parser.parse(isr, "");
} catch (final RDFParseException e) {
System.err.println(e);
e.printStackTrace();
} catch (final RDFHandlerException e) {
System.err.println(e);
e.printStackTrace();
} catch (final IOException e) {
System.err.println(e);
e.printStackTrace();
}
} else if (parserType == SesameParserType.TURTLE) {
final TurtleParser parser = new TurtleParser();
parser.setRDFHandler(handler);
try {
parser.parse(isr, "");
} catch (final RDFParseException e) {
System.err.println(e);
e.printStackTrace();
} catch (final RDFHandlerException e) {
System.err.println(e);