Class RoutingExceptionsHandler

java.lang.Object
io.github.belgif.rest.problem.spring.RoutingExceptionsHandler

@RestControllerAdvice @Order(1) public class RoutingExceptionsHandler extends Object
RestController exception handler for routing-related exceptions.
  • Constructor Details

    • RoutingExceptionsHandler

      public RoutingExceptionsHandler()
  • Method Details

    • handleMissingServletRequestParameterException

      @ExceptionHandler(org.springframework.web.bind.MissingServletRequestParameterException.class) public org.springframework.http.ResponseEntity<Problem> handleMissingServletRequestParameterException(org.springframework.web.bind.MissingServletRequestParameterException exception)
    • handleMissingRequestHeaderException

      @ExceptionHandler(org.springframework.web.bind.MissingRequestHeaderException.class) public org.springframework.http.ResponseEntity<Problem> handleMissingRequestHeaderException(org.springframework.web.bind.MissingRequestHeaderException exception)
    • handleHttpMessageNotReadable

      @ExceptionHandler(org.springframework.http.converter.HttpMessageNotReadableException.class) public org.springframework.http.ResponseEntity<Problem> handleHttpMessageNotReadable(org.springframework.http.converter.HttpMessageNotReadableException exception)