private void load()

in src/main/java/software/amazon/neptune/csv2rdf/PropertyGraph2RdfConverter.java [182:194]


	private void load(@NonNull File config) {
		try {
			ObjectMapper mapper = new ObjectMapper(new JavaPropsFactory());
			mapper.readerForUpdating(this).readValue(config);
		} catch (UnrecognizedPropertyException e) {
			throw new Csv2RdfException(
					"Loading configuration failed because of unknown property: " + e.getPropertyName(), e);
		} catch (JsonMappingException e) {
			throw new Csv2RdfException(getErrorMessage(e), e);
		} catch (IOException e) {
			throw new Csv2RdfException("Configuration file not found: " + config.getAbsolutePath(), e);
		}
	}