在多重Catch的情况下得到异常的完整信息
摘要:在方法多层调用的时候,每一层都有相应的catch处理后重新throw的情况下,刚开始在最外层无法得到产生异常的完整信息。 最初的代码样子如下: static void Main(string[] args) { try{ Method3(); }catch(Exception e) ...
阅读全文
posted @ 2005-01-28 10:28
紫冠道人的求道历程
posted @ 2005-01-28 10:28
posted @ 2005-01-11 15:02
posted @ 2005-01-06 09:52
Powered by:
博客园
Copyright © 2025 lichdr
Powered by .NET 9.0 on Kubernetes