throw new ValidationException("PDFBox failed to parse datasource", e);
}
// init PDF Extractor
try {
SimpleCharStream scs = new SimpleCharStream(source.getInputStream());
ExtractorTokenManager extractor = new ExtractorTokenManager(scs);
extractor.parse();
handler.setPdfExtractor(extractor);
} catch (IOException e) {
throw new ValidationException(