java基础知识(下)
graph TD
A[Throwable] --> B[Exception] 
A --> C[Error]
B --> D[Checked Exception-编译时异常]
B --> E[Unchecked Exception-运行时异常]
C --> F(OutOfMemoryError 

StackOverFlowError
...) D --> G(IOException

ClassNotFoundException

FileNotFoundException

... ) E --> H(NullPointerException

IndexOutOfBoundsException

ClassCastException

...)
Author: golike
Link: http://jianhui1012.github.io/2022/05/30/java基础知识-下/
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.