This is true for all built-in exceptions, but need not be true for user-defined exceptions (although it is a useful convention).
对于所有的内置异常都是如此,不过用户自定义异常就不一定了(尽管这是一个很有用的约定)。
youdao
How to: Create User-Defined Exceptions.
如何:创建用户定义的异常。
应用推荐
模块上移
模块下移
不移动