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