Class UmbrellaException

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

public class UmbrellaException extends 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:
  • Field Details

  • Constructor Details

    • UmbrellaException

      public UmbrellaException(Set<Throwable> causes)
    • UmbrellaException

      protected UmbrellaException()
      Required for GWT RPC serialization.
  • Method Details

    • makeCause

      protected static Throwable makeCause(Set<Throwable> causes)
    • makeMessage

      protected static String makeMessage(Set<Throwable> causes)
    • getCauses

      public Set<Throwable> getCauses()
      Get the set of exceptions that caused the failure.
      Returns:
      the set of causes