public class MyException:Excetion
{
string message;
public override string Message
{
get
{
return message;
}
}
public MyException(string _message):base()
{
this.message=_message;
}
}
自定义异常
最新推荐文章于 2024-07-22 14:28:34 发布