use of com.ibm.dtfj.image.ImageFactory in project openj9 by eclipse.
the class PHDImageFactory method getMetaImage.
private Image getMetaImage(File file, File metaFile) throws IOException, FileNotFoundException {
ImageFactory metaFactory = getMetaFactory();
Image i2;
try {
i2 = metaFactory.getImage(metaFile);
} catch (RuntimeException e) {
// javacore reader isn't that robust
FileNotFoundException ex = new FileNotFoundException(MessageFormat.format("Problem opening dump {0} metafile {1}", file, metaFile));
ex.initCause(e);
throw ex;
}
return i2;
}
Aggregations