Package org.keycloak.services.error
Class KeycloakMismatchedInputExceptionHandler
java.lang.Object
org.keycloak.services.error.KeycloakMismatchedInputExceptionHandler
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.exc.MismatchedInputException>
public class KeycloakMismatchedInputExceptionHandler
extends Object
implements jakarta.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.exc.MismatchedInputException>
Override explicitly added ExceptionMapper for handling
MismatchedInputException
in RestEasy Jackson-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
toResponse
(com.fasterxml.jackson.databind.exc.MismatchedInputException exception) Return escaped original message
-
Constructor Details
-
KeycloakMismatchedInputExceptionHandler
public KeycloakMismatchedInputExceptionHandler()
-
-
Method Details
-
toResponse
public jakarta.ws.rs.core.Response toResponse(com.fasterxml.jackson.databind.exc.MismatchedInputException exception) Return escaped original message- Specified by:
toResponse
in interfacejakarta.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.exc.MismatchedInputException>
-