Class JsonProcessingExceptionMapper

java.lang.Object
org.graylog2.shared.rest.exceptionmappers.JsonProcessingExceptionMapper
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.core.JsonProcessingException>

@Provider public class JsonProcessingExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.core.JsonProcessingException>
  • Constructor Details

    • JsonProcessingExceptionMapper

      public JsonProcessingExceptionMapper()
  • Method Details

    • toResponse

      public jakarta.ws.rs.core.Response toResponse(com.fasterxml.jackson.core.JsonProcessingException e)
      Specified by:
      toResponse in interface jakarta.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.core.JsonProcessingException>