If you make your top-level exception too specific you'll end up having to restructure your hierarchy later to fit in something more generic.
如果您将顶级异常搞得太具体,那么其结果是您今后将不得不重新构造层次结构,以适应某些较通用的情况。
The answer is to provide a more useful type of exception that also contains a lower-level exception. Listing 1 shows a simple ApplicationException that does just this
答案是提供一类更有用的异常,它还包含低级异常。
So, the Lakers will have to use their mid-level exception this summer, and wisely.
所以,湖人将不得不在这个夏天好好地利用他们的中产。
NET has a top-level exception handler that handles exceptions to show error pages to browser users.
NET有一个顶级异常处理程序,该处理程序在对异常进行处理时向浏览器用户显示错误页面。
The exception is used as a standard application-level exception to report a failure to find the requested EJB object(s).
该异常作为一个标准应用级的异常使用,来报告查找请求的EJB对象失败。
The exception is used as a standard application-level exception to report a failure to find the requested EJB object(s).
该异常作为一个标准应用级的异常使用,来报告查找请求的EJB对象失败。
应用推荐