Class JsonMappingExceptionMapper
java.lang.Object
com.atlassian.crowd.plugin.rest.exception.mapper.JsonMappingExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.JsonMappingException>
@Provider
public class JsonMappingExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.JsonMappingException>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
toResponse
(com.fasterxml.jackson.databind.JsonMappingException exception)
-
Constructor Details
-
JsonMappingExceptionMapper
public JsonMappingExceptionMapper()
-
-
Method Details
-
toResponse
public javax.ws.rs.core.Response toResponse(com.fasterxml.jackson.databind.JsonMappingException exception) - Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.JsonMappingException>
-