Example
public
static
class
ClassA
throws
RuntimeException {
public
void
methodA {
//...
throw new
RuntimeException();
}
}
Solution
Create a dedicated catch clause for each Runtime exception that is declared in the throws clause.