1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

Merge pull request #37 from jun1st/patch-2

Update Java基础知识.md
This commit is contained in:
SnailClimb 2018-10-17 15:12:38 +08:00 committed by GitHub
commit 0df64ea078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -400,7 +400,7 @@ final关键字主要用在三个地方变量、方法、类。
**注意:异常和错误的区别:异常能被程序本身可以处理,错误是无法处理。**
### Trowable类常用方法
### Throwable类常用方法
- **public string getMessage()**:返回异常发生时的详细信息
- **public string toString()**:返回异常发生时的简要描述