Class JsonParseExceptionHandler
java.lang.Object
org.camunda.bpm.engine.rest.exception.JsonParseExceptionHandler
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.core.JsonParseException>
@Provider
public class JsonParseExceptionHandler
extends Object
implements javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.core.JsonParseException>
- Author:
- Thorben Lindhauer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
toResponse
(com.fasterxml.jackson.core.JsonParseException exception)
-
Constructor Details
-
JsonParseExceptionHandler
public JsonParseExceptionHandler()
-
-
Method Details
-
toResponse
public javax.ws.rs.core.Response toResponse(com.fasterxml.jackson.core.JsonParseException exception) - Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.core.JsonParseException>
-