public void validateHeader() { if (!isRrd4nHeader()) { throw new System.IO.IOException("Invalid file header. File [" + parentDb.getCanonicalPath() + "] is not a Rrd4n RRD file"); } }