in src/java/detectors/missing_specifically_thrown_exception_handling/MissingSpecificallyThrownExceptionHandling.java [28:41]
public void exceptionHandlingCompliant() {
// Compliant: catch block handles SomeException.
try {
doSomething();
throw new SomeException();
} catch (IndexOutOfBoundsException e) {
log.error(e.getMessage());
} catch (SomeException e) {
log.error(e.getMessage());
} catch (Exception e) {
log.error(e.getMessage());
}
}