proofpoint/platform — pull request #150 by jsabin (2012-10-17 16:16:06+00:00)
Title: Modified JsonMapper to allows exception mappers to catch Json and Bean validation errors

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 catch WebApplicationException. Also, fixed deprecated calls to TypeFactory.type. Also added test for the throwing of the BeanValidationException.