.NET Exception Handling
.NET Exception Handling<div id="cnblogs_post_body">http://images.cnblogs.com/cnblogs_com/philzhou/201210/20121016114229626.png
Note: It is very important to just use the throw statement, rather than throw ex. If you have "throw ex", then the stack trace of the exception will be replaced with a stack trace starting at the re-throw point, which is usually not the desired effect.
页:
[1]