【Throwable】图谱
哪些异常属于受检异常
The class {@code Exception} and any subclasses that are not also subclasses of {@link RuntimeException} are checked exceptions. ---->> 类{@code Exception}和任何不属于{@link RuntimeException}的子类的子类都是检查异常【是否可以理解成只有“IOException”及其子类是受检异常呢?】
受检异常应该如何处理
Checked exceptions need to be declared in a method or constructor's {@code throws} clause if they can be thrown by the execution of the method or constructor and propagate outside the method or constructor boundary. ---->> 检查的异常需要在方法或构造函数的{@code throws}子句中声明,如果它们可以由方法或构造函数的执行抛出并在方法或构造函数边界之外传播