Quiz

Question 1 of 5. 0 correct, 0 incorrect.

A class has an @ExceptionHandler(Exception.class) method and an @ExceptionHandler(RideNotFoundException.class) method. A RideNotFoundException is thrown. What actually decides which handler runs — not which one is declared first?