Skip to content

Commit

Permalink
修改文章排版
Browse files Browse the repository at this point in the history
  • Loading branch information
Snailclimb authored Oct 2, 2018
1 parent 9ccc997 commit 33cf696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Java相关/Java基础知识.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ final关键字主要用在三个地方:变量、方法、类。
- **public string getMessage()**:返回异常发生时的详细信息
- **public string toString()**:返回异常发生时的简要描述
- **public string getLocalizedMessage()**:返回异常对象的本地化信息。使用Throwable的子类覆盖这个方法,可以声称本地化信息。如果子类没有覆盖该方法,则该方法返回的信息与getMessage()返回的结果相同
**public void printStackTrace()**:在控制台上打印Throwable对象封装的异常信息
- **public void printStackTrace()**:在控制台上打印Throwable对象封装的异常信息

### 异常处理总结

Expand Down

0 comments on commit 33cf696

Please sign in to comment.