Class NessieJaxRsJsonMappingExceptionMapper

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.JsonMappingException>

    @Provider
    public class NessieJaxRsJsonMappingExceptionMapper
    extends BaseExceptionMapper<com.fasterxml.jackson.databind.JsonMappingException>
    "Special" implementation for exceptions that extend JsonMappingException that is needed when using Jackson-JaxRs, as those do not "go through" NessieExceptionMapper, because Jackson-JaxRs provides its own mapper for JsonMappingException.
    • Constructor Detail

      • NessieJaxRsJsonMappingExceptionMapper

        public NessieJaxRsJsonMappingExceptionMapper()
      • NessieJaxRsJsonMappingExceptionMapper

        @Inject
        public NessieJaxRsJsonMappingExceptionMapper​(org.projectnessie.services.config.ServerConfig config)
    • Method Detail

      • toResponse

        public javax.ws.rs.core.Response toResponse​(com.fasterxml.jackson.databind.JsonMappingException exception)