@Provider public class JsonMappingExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<com.fasterxml.jackson.databind.JsonMappingException>
ExceptionMapper for the JsonMappingException family of exceptions.
The intention of this exception mapper is to handle Jackson mapping exceptions, and turn them into a 400 response in the standard JSON error format.
| Constructor and Description |
|---|
JsonMappingExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
toResponse(com.fasterxml.jackson.databind.JsonMappingException e) |
Copyright © 2018 Cerner Innovation, Inc.. All rights reserved.