不能catch Fatal的exception
摘要:
Clemens Vasters - Are you catching falling knives?里给了一个判断C#的exception是不是fatal的代码,可以参考参考。 public static bool IsFatal(this Exception exception){ while (exception != null) { if (exceptio... 阅读全文
posted @ 2012-10-15 13:29 fresky 阅读(272) 评论(0) 推荐(0)
浙公网安备 33010602011771号