proofpoint/platform — pull request #148 by jsabin (2012-10-12 20:56:03+00:00)
Title: JsonMapper allows ExceptionMappers to catch thrown exceptions

Modified JsonMapper's readFrom() method to throw JsonMapperParsingException and BeanValidationException rather than throwing WebApplicationException. This allows ExceptionMappers to be created to manipulate the response if needed. ExceptionMappers don't work with WebApplicationException. Also, fixed deprecated calls to TypeFactory.type. Also added a test for the throwing of the BeanValidationException.