Package org.keycloak.services.error
Class KcUnrecognizedPropertyExceptionHandler
- java.lang.Object
-
- org.keycloak.services.error.KcUnrecognizedPropertyExceptionHandler
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException>
public class KcUnrecognizedPropertyExceptionHandler extends Object implements javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException>
Override explicitly added ExceptionMapper for handlingUnrecognizedPropertyException
in RestEasy Jacksonorg.jboss.resteasy.plugins.providers.jackson.UnrecognizedPropertyExceptionHandler
-
-
Constructor Summary
Constructors Constructor Description KcUnrecognizedPropertyExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException exception)
Return escaped original message
-
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException exception)
Return escaped original message- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException>
-
-