今天从CodeGuru上看到了一片文章Throwing Exceptions: Will You be Able to Catch What You Expect?
做了一个实验,现在贴出程序和运行效果:
实验一: ExeceptionCatch 中的 catch块直接使用throw ex

















今天从CodeGuru上看到了一片文章Throwing Exceptions: Will You be Able to Catch What You Expect?
做了一个实验,现在贴出程序和运行效果:
实验一: ExeceptionCatch 中的 catch块直接使用throw ex