Class ReportedException.CauseTraceIterator

  • All Implemented Interfaces:
    java.util.Iterator<java.lang.Throwable>
    Enclosing class:
    ReportedException

    private final class ReportedException.CauseTraceIterator
    extends java.lang.Object
    implements java.util.Iterator<java.lang.Throwable>
    Iterates over the causes for this exception. Ignores cycles and aborts iteration then.
    Since:
    10585
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Throwable current  
      private java.util.Set<java.lang.Throwable> dejaVu  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CauseTraceIterator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void advance()  
      boolean hasNext()  
      java.lang.Throwable next()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, remove
    • Field Detail

      • current

        private java.lang.Throwable current
      • dejaVu

        private final java.util.Set<java.lang.Throwable> dejaVu
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.lang.Throwable>
      • next

        public java.lang.Throwable next()
        Specified by:
        next in interface java.util.Iterator<java.lang.Throwable>