异常名(Exception Names)因为异常应该是类,故类定名约定也合用于异常。然而,你应该对异常名添加后缀"Error"(要是该异常的确是一个错误)。
基于62个网页-相关网页
标准异常名是内置的标识(没有保留关键字)。
Standard exception names are built-in identifiers (not reserved keywords).
例如,可以在 throw、catch 和 uncaught 事件上添加异常名或错误名。
For instance, you can add an exception or error name to the throw, catch, and uncaught events.
所以在最后三名宇航员回来前,如果不能尽快找出并修复火箭异常,新的工作人员将不能前往轨道实验室。
So if the rocket anomaly isn't identified and fixed soon, a fresh crew won't be able to reach the orbiting lab before the last three spaceflyers head for home.
应用推荐