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 Summary
ConstructorsConstructorDescriptionInvalidFormatExceptionMapper(PostProcessorsRegistry postProcessorsRegistry, DetailSanitizer detailSanitizer) -
Method Summary
Modifier and TypeMethodDescriptionprotected HttpProblemtoProblem(com.fasterxml.jackson.databind.exc.InvalidFormatException exception) Methods inherited from class io.quarkiverse.httpproblem.ExceptionMapperBase
toResponse
-
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:
toProblemin classExceptionMapperBase<com.fasterxml.jackson.databind.exc.InvalidFormatException>
-