我正在使用 GWT,有时我会收到名为 UmbrellaException 的异常 我一直想知道为什么这样调用它?因为有很多错误(下雨),所以你必须保护应用程序(使用雨伞不要被淋湿)。
最佳答案
根据我在谷歌上搜索术语“gwt umbrellaexception”时的第一个链接:
A
RuntimeException
that collects aSet
of childThrowable
together. Typically thrown after loop, with all of the exceptions thrown during that loop, but delayed so that the loop finishes executing.
它只是Exception
(实际上是Throwable
)的Collection
。 Read the API Doc for more information .
关于java - 为什么 UmbrellaException 有那个名字?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8362613/