@Priority(value=5000) public class ValidationExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<javax.validation.ValidationException>
ExceptionMapper for ValidationException.
If property is enabled then a list of ValidationError
instances is sent in Response as well (in addition to HTTP 400/500 status code). Supported media types are:
application/json/application/xml (in appropriate provider is registered on server) or
text/html/text/plain (via custom ValidationErrorMessageBodyWriter).| Constructor and Description |
|---|
ValidationExceptionMapper() |
Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.