摘要:
自定义异常是在日常开发中经常使用到的;
异常类代码:
1 /**////
2 /// Represents the exception that is thrown when attempting an action that ....
3 ///
4 class SampleException : Exception
5 {
6 private string cMessage = string.Empty;
7 public override string Message
8 {
9 get
10 {
11 return cMessage;
12 }
13 }
14 public SampleExcept 阅读全文
posted @ 2008-07-10 18:42
英怀
阅读(409)
评论(0)
推荐(0)

浙公网安备 33010602011771号