presto-hive/src/main/java/io/prestosql/plugin/hive/orc/OrcPageSource.java/OrcPageSource/handleException
class OrcPageSource:    static PrestoException handleException(OrcDataSourceId dataSourceId, Exception exception)
    {
        if (exception instanceof PrestoException) {
            return (PrestoException) exception;
        }
        if (exception instanceof OrcCorruptionException) {
            return new PrestoException(HIVE_BAD_DATA, exception);
        }
        return new PrestoException(HIVE_CURSOR_ERROR, format("Failed to read ORC file: %s", dataSourceId), exception);
    }