presto-main/src/main/java/io/prestosql/execution/TaskStateMachine.java/TaskStateMachine/getFailureCauses
class TaskStateMachine:    public LinkedBlockingQueue<Throwable> getFailureCauses()
    {
        return failureCauses;
    }