presto-parquet/src/main/java/io/prestosql/parquet/ParquetValidationUtils.java/ParquetValidationUtils/validateParquet
class ParquetValidationUtils:    public static void validateParquet(boolean condition, String formatString, Object... args)
            throws ParquetCorruptionException
    {
        if (!condition) {
            throw new ParquetCorruptionException(format(formatString, args));
        }
    }