void validateHeader() throws IOException { if (!isRrd4jHeader()) { throw new IOException("Invalid file header. File [" + parentDb.getCanonicalPath() + "] is not a RRD4J RRD file"); } }
void validateHeader() throws IOException { if (!isRrd4jHeader()) { throw new InvalidRrdException("Invalid file header. File [" + parentDb.getCanonicalPath() + "] is not a RRD4J RRD file"); } }