Class UmbrellaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.web.bindery.event.shared.UmbrellaException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
UmbrellaException
public class UmbrellaException extends java.lang.RuntimeException
ARuntimeException
that collects aSet
of childThrowable
s together. Typically thrown after a loop, with all of the exceptions thrown during that loop, but delayed so that the loop finishes executing.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UmbrellaException()
Required for GWT RPC serialization.UmbrellaException(java.util.Set<java.lang.Throwable> causes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
MULTIPLE
static final java.lang.String MULTIPLE
- See Also:
- Constant Field Values
-
ONE
static final java.lang.String ONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
makeCause
protected static java.lang.Throwable makeCause(java.util.Set<java.lang.Throwable> causes)
-
makeMessage
protected static java.lang.String makeMessage(java.util.Set<java.lang.Throwable> causes)
-
getCauses
public java.util.Set<java.lang.Throwable> getCauses()
Get the set of exceptions that caused the failure.- Returns:
- the set of causes
-
-