📜  您处理的异常类型是什么 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:56.439000             🧑  作者: Mango

代码示例1
UNCHECKED: index out bounds exception while working with strings, arrays.
NullPointer exception if I forget to instantiate objects.

CHECKED: IOException, SQLException, FileNotFoundException, InterruptedException
SELENIUM: NoSuchElementException, NoSuchFrameException, NoSuchAlert Exception, 
NoSuchSessionException, InvalidXpath ~~
All Selenium related exceptions are UNCHECKED.