public class UmbrellaException
extends java.lang.RuntimeException
RuntimeException
that collects a Set
of child
Throwable
s together. Typically thrown after a loop, with all of the
exceptions thrown during that loop, but delayed so that the loop finishes
executing.Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
MULTIPLE |
(package private) static java.lang.String |
ONE |
Modifier | Constructor and Description |
---|---|
protected |
UmbrellaException()
Required for GWT RPC serialization.
|
|
UmbrellaException(java.util.Set<java.lang.Throwable> causes) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.Throwable> |
getCauses()
Get the set of exceptions that caused the failure.
|
protected static java.lang.Throwable |
makeCause(java.util.Set<java.lang.Throwable> causes) |
protected static java.lang.String |
makeMessage(java.util.Set<java.lang.Throwable> causes) |
static final java.lang.String MULTIPLE
static final java.lang.String ONE
public UmbrellaException(java.util.Set<java.lang.Throwable> causes)
protected UmbrellaException()
protected static java.lang.Throwable makeCause(java.util.Set<java.lang.Throwable> causes)
protected static java.lang.String makeMessage(java.util.Set<java.lang.Throwable> causes)
public java.util.Set<java.lang.Throwable> getCauses()