Class RoutingExceptionsHandler
java.lang.Object
io.github.belgif.rest.problem.spring.AbstractRoutingExceptionsHandler<tools.jackson.databind.exc.MismatchedInputException>
io.github.belgif.rest.problem.spring.RoutingExceptionsHandler
@RestControllerAdvice
@ConditionalOnWebApplication
@Order(1)
public class RoutingExceptionsHandler
extends AbstractRoutingExceptionsHandler<tools.jackson.databind.exc.MismatchedInputException>
RestController exception handler for routing-related exceptions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BadRequestProblemtoBadRequestProblem(tools.jackson.databind.exc.MismatchedInputException mismatchedInputException) Methods inherited from class io.github.belgif.rest.problem.spring.AbstractRoutingExceptionsHandler
handleHttpMediaTypeNotAcceptable, handleHttpMediaTypeNotSupported, handleHttpMessageNotReadable, handleHttpRequestMethodNotSupported, handleMissingRequestHeaderException, handleMissingServletRequestParameterException
-
Constructor Details
-
RoutingExceptionsHandler
public RoutingExceptionsHandler()
-
-
Method Details
-
toBadRequestProblem
protected BadRequestProblem toBadRequestProblem(tools.jackson.databind.exc.MismatchedInputException mismatchedInputException) - Specified by:
toBadRequestProblemin classAbstractRoutingExceptionsHandler<tools.jackson.databind.exc.MismatchedInputException>
-