enricher/deprecated/src/main/java/io/fabric8/maven/enricher/deprecated/AbstractLiveEnricher.java
protected Stack<Throwable> unfoldExceptions(Throwable exception) {
        Stack<Throwable> throwables = new Stack<>();

        Throwable current = exception;
        // spool to the bottom of the caused by tree
        while (current != null) {
            throwables.push(current);
            current = current.getCause();
        }
        return throwables;
    }
protected Stack<Throwable> unfoldExceptions(Throwable exception) {
        Stack<Throwable> throwables = new Stack<>();

        Throwable current = exception;
        // spool to the bottom of the caused by tree
        while (current != null) {
            throwables.push(current);
            current = current.getCause();
        }
        return throwables;
    }
Creates an Iterable to walk the exception from the bottom up
(the last caused by going upwards to the root exception).

@param exception the exception
@return the Iterable
@see java.lang.Iterable