java exception handling interview questions code example
Example: what are the exception types that you handled
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.