presto-hive/src/main/java/io/prestosql/plugin/hive/HiveSplitSource.java/HiveSplitSource/failed
class HiveSplitSource:        public static State failed(Throwable throwable)
        {
            return new State(FAILED, throwable);
        }