return document;
} catch (JAXBException e) {
final String name = f.getAbsolutePath();
final String msg = e.getMessage();
final Throwable cause = e;
throw new ConversionError(name, msg, cause);
} catch (IOException e) {
final String name = f.getAbsolutePath();
final String msg = e.getMessage();
final Throwable cause = e;
throw new ConversionError(name, msg, cause);
}
}