JsonMappingExceptionMapper (Jackson JSON Processor)
Date: 2013-07-14

org.codehaus.jackson.jaxrs

## Class JsonMappingExceptionMapper

- java.lang.Object
- - org.codehaus.jackson.jaxrs.JsonMappingExceptionMapper

- All Implemented Interfaces:
    ExceptionMapper<JsonMappingException>

      @Provider
      public class JsonMappingExceptionMapper
      extends Object
      implements ExceptionMapper<JsonMappingException>

  Implementation if `ExceptionMapper` to send down a "400 Bad Request" response in the event that unmappable JSON is received.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JsonMappingExceptionMapper()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Response` | `toResponse(JsonMappingException exception)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JsonMappingExceptionMapper

          public JsonMappingExceptionMapper()

  - ### Method Detail

    - #### toResponse

          public Response toResponse(JsonMappingException exception)

      Specified by:
        `toResponse` in interface `ExceptionMapper<JsonMappingException>`