RxJava
rx.util
Class CompositeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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)
|
| 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 |
CompositeException
public CompositeException(java.lang.String messagePrefix,
java.util.Collection<java.lang.Throwable> errors)
CompositeException
public CompositeException(java.util.Collection<java.lang.Throwable> errors)
getExceptions
public java.util.List<java.lang.Throwable> getExceptions()
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage in class java.lang.Throwable