reportable.error("Unable to read file");
reportable.error("Reason: " + e.getMessage());
bail(GENERAL_FAILURE);
}
Hasher hasher = Hasher.INSTANCE;
try {
String generatedhash = hasher.hashValue(hashContents);
reportable.output("Checksum: " + generatedhash);
} catch (Exception e) {
reportable.error("Unable to created checksum");
reportable.error("Reason: " + e.getMessage());
bail(GENERAL_FAILURE);