presto-orc/src/main/java/io/prestosql/orc/metadata/ExceptionWrappingMetadataReader.java/ExceptionWrappingMetadataReader/readFooter
class ExceptionWrappingMetadataReader:    @Override
    public Footer readFooter(HiveWriterVersion hiveWriterVersion, InputStream inputStream)
            throws OrcCorruptionException
    {
        try {
            return delegate.readFooter(hiveWriterVersion, inputStream);
        }
        catch (IOException | RuntimeException e) {
            throw propagate(e, "Invalid file footer");
        }
    }