Skip to content

Commit 33cf696

Browse files
authored
修改文章排版
1 parent 9ccc997 commit 33cf696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Java相关/Java基础知识.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ final关键字主要用在三个地方:变量、方法、类。
405405
- **public string getMessage()**:返回异常发生时的详细信息
406406
- **public string toString()**:返回异常发生时的简要描述
407407
- **public string getLocalizedMessage()**:返回异常对象的本地化信息。使用Throwable的子类覆盖这个方法,可以声称本地化信息。如果子类没有覆盖该方法,则该方法返回的信息与getMessage()返回的结果相同
408-
**public void printStackTrace()**:在控制台上打印Throwable对象封装的异常信息
408+
- **public void printStackTrace()**:在控制台上打印Throwable对象封装的异常信息
409409

410410
### 异常处理总结
411411

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy