@@ -0,0 +1,604 @@
+package com.example.web;%0A%0Aimport org.springframework.http.HttpStatus;%0Aimport org.springframework.web.bind.annotation.ControllerAdvice;%0Aimport org.springframework.web.bind.annotation.ExceptionHandler;%0Aimport org.springframework.web.bind.annotation.ResponseStatus;%0A%0A@ControllerAdvice%0Apublic class GlobalDefaultExceptionHandler %7B%0A%0A    // Convert a predefined exception to an HTTP Status code%0A    @ResponseStatus(value= HttpStatus.NOT_FOUND, reason=%22Id must be an integer.%22) // Default: 400%0A    @ExceptionHandler(NumberFormatException.class)%0A    public void idParseError() %7B%0A        // Nothing to do%0A    %7D%0A%7D%0A

Fix id parse error (String can not be parsed to Long)