net.ranides.assira.trace
Class MultiException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.ranides.assira.trace.MultiException
All Implemented Interfaces:
Serializable, Iterable<Throwable>

public class MultiException
extends RuntimeException
implements Iterable<Throwable>

Author:
ranides
See Also:
Serialized Form

Constructor Summary
MultiException(Collection<? extends Throwable> causeList)
           
MultiException(String message)
           
MultiException(String message, Collection<? extends Throwable> causeList)
           
 
Method Summary
 void addCause(Throwable cause)
           
 Throwable getCause(int index)
           
 List<Throwable> getCauseList()
           
 Iterator<Throwable> iterator()
           
 void printStackTrace(PrintStream stream)
           
 void printStackTrace(PrintWriter writer)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiException

public MultiException(Collection<? extends Throwable> causeList)

MultiException

public MultiException(String message,
                      Collection<? extends Throwable> causeList)

MultiException

public MultiException(String message)
Method Detail

iterator

public Iterator<Throwable> iterator()
Specified by:
iterator in interface Iterable<Throwable>

getCauseList

public List<Throwable> getCauseList()

getCause

public Throwable getCause(int index)

addCause

public void addCause(Throwable cause)

printStackTrace

public void printStackTrace(PrintStream stream)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter writer)
Overrides:
printStackTrace in class Throwable


Copyright © 2013. All Rights Reserved.