为什么UmbrellaException有这个名字? [英] Why does UmbrellaException have that name?

查看:593
本文介绍了为什么UmbrellaException有这个名字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用GWT,有时候我收到了一个叫做 UmbrellaException
我总是想知道为什么这样叫?这是因为有很多错误(雨),你必须保护应用程序(使用雨伞不要弄湿)。 解决方案

根据第一个链接,当我搜索词gwt umbrellaexception时:


A RuntimeException

code>,它将 Throwable Set 集合在一起。
通常在循环之后抛出所有在该循环期间抛出的异常
,但是延迟以便循环完成执行。

它只是集合异常 Throwable 阅读API文档更多信息。


I'm working with GWT and sometimes I'm getting exception called UmbrellaException I was always wondering why is it called like that? It is because there is a lot of error (rain) that you have to protect the application (use umbrella not to get wet).

解决方案

According to the first link when i googled the term "gwt umbrellaexception":

A RuntimeException that collects a Set of child Throwable together. Typically thrown after loop, with all of the exceptions thrown during that loop, but delayed so that the loop finishes executing.

It's just a Collection of Exception (Throwable actually). Read the API Doc for more information.

这篇关于为什么UmbrellaException有这个名字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆