"But there's another kind of exception—the RuntimeException and the classes that inherit it. They don't have to be caught — because they're unchecked! They are a mystery. Their occurrence is hard to predict and they don't need to be indicated in the throws clause," say the CodeGym lessons. The time has come to handle all unchecked exceptions in the handleExceptions method.
Catching unchecked exceptions
You must be signed in to leave a comment
This page doesn't have any comments yet