Class JsonProcessingExceptionMapper

java.lang.Object
io.dropwizard.jersey.errors.LoggingExceptionMapper<com.fasterxml.jackson.core.JsonProcessingException>
io.dropwizard.jersey.jackson.JsonProcessingExceptionMapper
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.core.JsonProcessingException>

@Provider public class JsonProcessingExceptionMapper extends LoggingExceptionMapper<com.fasterxml.jackson.core.JsonProcessingException>
  • Constructor Details

    • JsonProcessingExceptionMapper

      public JsonProcessingExceptionMapper()
    • JsonProcessingExceptionMapper

      public JsonProcessingExceptionMapper(boolean showDetails)
  • Method Details

    • isShowDetails

      public boolean isShowDetails()
    • toResponse

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