currentContext.add(image);
}
}
catch (DocumentException ioe)
{
throw new InvalidReportStateException("Failed to extract text", ioe);
}
catch (IOException e)
{
// double ignore ..
throw new InvalidReportStateException("Failed to extract text", e);
}
}