ChecksumFile resolveChecksumFile(Path path) throws UpdateException {
  try {
    return new ChecksumFile(path.resolve(CHECKSUMS_FILE));
  }
 catch (  IOException|NoSuchAlgorithmException e) {
    throw new UpdateException("Failed to load checksum file from archive.",e);
  }
catch (  NullPointerException e) {
    throw new UpdateException("Archive directory does not exist",e);
  }
}

ChecksumFile resolveChecksumFile ( Path path ) throws UpdateException { try { return new ChecksumFile ( path . resolve ( CHECKSUMS_FILE ) ) ; } catch ( IOException | NoSuchAlgorithmException e ) { throw new UpdateException ( "Failed to load checksum file from archive." , e ) ; } catch ( NullPointerException e ) { throw new UpdateException ( "Archive directory does not exist" , e ) ; } }
returns a new instance of a checksumfile that is resolved from the passed in path .
