public static void main(String[] args) throws Exception {
    // delegate to preserve old behavior
    HFilePrettyPrinter.main(args);
  }
Checks the given {@link HFile} format version, and throws an exception if invalid. Note that if
the version number comes from an input file and has not been verified, the caller needs to
re-throw an {@link IOException} to indicate that this is not a software error, but corrupted
input.
@param version an HFile version
@throws IllegalArgumentException if the version is invalid
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFile.java