Class ExceptionCauseIterator

java.lang.Object
org.broadinstitute.http.nio.utils.ExceptionCauseIterator
All Implemented Interfaces:
Iterable<Throwable>, Iterator<Throwable>

public class ExceptionCauseIterator extends Object implements Iterator<Throwable>, Iterable<Throwable>
Iterate through the cause chain of a Throwable to examine all the causes in turn Bounded by MAX_DEPTH in order to prevent infinite loops.