GWT 2.3.0

com.google.web.bindery.event.shared
Class UmbrellaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.google.web.bindery.event.shared.UmbrellaException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
UmbrellaException

public class UmbrellaException
extends java.lang.RuntimeException

A RuntimeException that collects a Set of child Throwables 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
protected UmbrellaException()
          Required for GWT RPC serialization.
  UmbrellaException(java.util.Set<java.lang.Throwable> causes)
           
 
Method Summary
 java.util.Set<java.lang.Throwable> getCauses()
          Get the set of exceptions that caused the failure.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

UmbrellaException

public UmbrellaException(java.util.Set<java.lang.Throwable> causes)

UmbrellaException

protected UmbrellaException()
Required for GWT RPC serialization.

Method Detail

getCauses

public java.util.Set<java.lang.Throwable> getCauses()
Get the set of exceptions that caused the failure.

Returns:
the set of causes

GWT 2.3.0