ControllerAdvice isn't picking IllegalArgumentException thrown by an incorrect UUID value passed as @RequestParam
问题 I have the following controller: @Slf4j @RestController @RequestMapping("/v1") @Validated public class HighlightController { // ... @GetMapping("/highlights") public ResponseEntity<List<Highlight>> getHighlights( @RequestParam(required = false) UUID impersonateUserId ) { // ... Then I have the following controller exception handler: @Slf4j @ControllerAdvice public class GlobalExceptionHandler { //... @ExceptionHandler(value = IllegalArgumentException.class) public ResponseEntity<Object>