Class InvalidFormatExceptionMapper

java.lang.Object
io.quarkiverse.httpproblem.ExceptionMapperBase<com.fasterxml.jackson.databind.exc.InvalidFormatException>
io.quarkiverse.httpproblem.jackson.InvalidFormatExceptionMapper
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.exc.InvalidFormatException>

@Priority(4999) public final class InvalidFormatExceptionMapper extends ExceptionMapperBase<com.fasterxml.jackson.databind.exc.InvalidFormatException>
Mapper for Jackson InvalidFormatException, which is more specialised version of JsonProcessingException
  • Constructor Details

    • InvalidFormatExceptionMapper

      public InvalidFormatExceptionMapper()
    • InvalidFormatExceptionMapper

      @Inject public InvalidFormatExceptionMapper(PostProcessorsRegistry postProcessorsRegistry, DetailSanitizer detailSanitizer)
  • Method Details

    • toProblem

      protected HttpProblem toProblem(com.fasterxml.jackson.databind.exc.InvalidFormatException exception)
      Specified by:
      toProblem in class ExceptionMapperBase<com.fasterxml.jackson.databind.exc.InvalidFormatException>