c8-05.cs
来自「一本很好的教材.C#开发者必备.内容全面,很难得哦.」· CS 代码 · 共 16 行
CS
16 行
//自定义异常类示例
using System;
public class EmployeeListNotFoundException: ApplicationException
{
public EmployeeListNotFoundException()
{
}
public EmployeeListNotFoundException(string message)
: base(message)
{
}
public EmployeeListNotFoundException(string message, Exception inner)
: base(message, inner)
{
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?