Skip to content

Commit

Permalink
Update Java基础知识.md
Browse files Browse the repository at this point in the history
根据上下文语境
应该将
“除了`RuntimeException`及其子类以外,其他的`Exception`类及其子类都属于检查异常” 
修改为
“除了`RuntimeException`及其子类以外,其他的`Exception`类及其子类都属于受检查异常”
  • Loading branch information
TimorYang authored Jan 14, 2021
1 parent 226600c commit ecfe12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/java/basis/Java基础知识.md
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,7 @@ Java 代码在编译过程中,如果受检查异常没有被 `catch`/`throw`
![check-exception](https://guide-blog-images.oss-cn-shenzhen.aliyuncs.com/2020-12/check-exception.png)
除了`RuntimeException`及其子类以外,其他的`Exception`类及其子类都属于检查异常 。常见的受检查异常有: IO 相关的异常、`ClassNotFoundException` 、`SQLException`...
除了`RuntimeException`及其子类以外,其他的`Exception`类及其子类都属于受检查异常 。常见的受检查异常有: IO 相关的异常、`ClassNotFoundException` 、`SQLException`...
**不受检查异常**
Expand Down

0 comments on commit ecfe12c

Please sign in to comment.