Class JsonMappingExceptionHandler
java.lang.Object
org.camunda.bpm.engine.rest.exception.JsonMappingExceptionHandler
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.JsonMappingException>
@Provider
public class JsonMappingExceptionHandler
extends Object
implements javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.JsonMappingException>
- Author:
- Thorben Lindhauer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
toResponse
(com.fasterxml.jackson.databind.JsonMappingException exception)
-
Constructor Details
-
JsonMappingExceptionHandler
public JsonMappingExceptionHandler()
-
-
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>
-