... > Beware of default mutable arguments!/当心默认的可变参数! > Catching the Exceptions/捕获异常 > Same operands, different story!/同人不同命! ...
基于1个网页-相关网页
We set this error when catching the exceptions.
我们在捕捉到异常时设置此错误。
But because I am catching the exceptions, I am returning normally, and I would have to know what Object to return.
但是因为要捕获异常需要正常返回,我还需要知道返回的是什么Object。
When catching exceptions, then, be certain you get all of them, be precise in how you do so, and use the information available in your chosen language to synthesize useful output.
于是,在捕获异常时,确信获取了全部异常且其处理方式是精确的,并使用您所选择的语言中的可用信息合成出有用的输出。
应用推荐