Class NessieJaxRsJsonParseExceptionMapper

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

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

      • NessieJaxRsJsonParseExceptionMapper

        public NessieJaxRsJsonParseExceptionMapper()
      • NessieJaxRsJsonParseExceptionMapper

        @Inject
        public NessieJaxRsJsonParseExceptionMapper​(ServerConfig config)
    • Method Detail

      • toResponse

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