volatile private Throwable error = null;
volatile private boolean succeeded = false;
private ImageValidator(File imageFile) throws IOException {
LOG.info("Validating image file " + imageFile);
tmpImageFileForValidation.delete();
LsImageVisitor v = new LsImageVisitor(tmpImageFileForValidation.toString());
viewer = new OfflineImageViewer(imageFile.toString(), v, true);
}