in src/main/java/software/amazon/neptune/csv2rdf/NeptuneCsvInputParser.java [150:164]
private CSVParser setupParser(@NonNull final Reader reader) {
try {
CSVFormat csvFormat = createCSVFormat();
return csvFormat.parse(reader);
} catch (final IOException e) {
try {
reader.close();
} catch (IOException e1) {
e.addSuppressed(new Csv2RdfException(
"Error setting up CSV parser, reader is supposed to close but could not be closed.", e1));
}
throw new Csv2RdfException("Error setting up CSV parser.", e);
}
}