.net系统自学笔记——错误和异常

System.Exception

重要的两个类

System.SystemException

System.ApplicationException

 

其他可能用到的异常类

StackOverflowException

EndOfStreamException

OverflowException

 

.net framework 中提供了预定义基类异常对象,捕获这些异常可用try-catch-finally块或其他形式的变体。

Exception的常用属性

 

用户自定义异常的定义及使用(抛出及捕获)

 

异常的使用规范

posted @ 2013-07-05 17:38  @妞儿  阅读(119)  评论(0编辑  收藏  举报