Class DatabindExceptionMapper

java.lang.Object
tools.jackson.jakarta.rs.base.DatabindExceptionMapper
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<tools.jackson.databind.DatabindException>

public class DatabindExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<tools.jackson.databind.DatabindException>
Implementation if ExceptionMapper to send down a "400 Bad Request" response in the event that unmappable JSON is received.
  • Constructor Details

    • DatabindExceptionMapper

      public DatabindExceptionMapper()
  • Method Details

    • toResponse

      public jakarta.ws.rs.core.Response toResponse(tools.jackson.databind.DatabindException exception)
      Specified by:
      toResponse in interface jakarta.ws.rs.ext.ExceptionMapper<tools.jackson.databind.DatabindException>