在多重Catch的情况下得到异常的完整信息
摘要:
在方法多层调用的时候,每一层都有相应的catch处理后重新throw的情况下,刚开始在最外层无法得到产生异常的完整信息。 最初的代码样子如下: static void Main(string[] args) { try{ Method3(); }catch(Exception e) ... 阅读全文
posted @ 2005-01-28 10:28 lichdr 阅读(2509) 评论(6) 推荐(0)
浙公网安备 33010602011771号