RxJava



rx.util
Class CompositeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by rx.util.CompositeException
All Implemented Interfaces:
java.io.Serializable

public class CompositeException
extends java.lang.RuntimeException

Exception that is a composite of 1 or more other exceptions.

The getMessage() will return a concatenation of the composite exceptions.

See Also:
Serialized Form

Constructor Summary
CompositeException(java.util.Collection<java.lang.Throwable> errors)
           
CompositeException(java.lang.String messagePrefix, java.util.Collection<java.lang.Throwable> errors)
           
 
Method Summary
 java.util.List<java.lang.Throwable> getExceptions()
           
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompositeException

public CompositeException(java.lang.String messagePrefix,
                          java.util.Collection<java.lang.Throwable> errors)

CompositeException

public CompositeException(java.util.Collection<java.lang.Throwable> errors)
Method Detail

getExceptions

public java.util.List<java.lang.Throwable> getExceptions()

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable