cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-5309) Support Bean Validation API for JAX-RS
Date Wed, 06 Nov 2013 15:58:18 GMT


Sergey Beryozkin commented on CXF-5309:

Sorry, missed it, yes you are right, I fixed it. Thanks :-).

Re getting the actual arg names, I wonder if we should re-introduce your ServerConstraintViolationException
(I'd only rename it to RequestConstraintViolationException) so that it can capture an invoked
method and may be keep a list of correct parameter names, so that default CXF and custom mappers
would check if it is an instance of RequestConstraintViolationException and if yes then get
the name of the parameter given a violation.getPropertyPath() as a key ?

Cheers, Sergey

> Support Bean Validation API for JAX-RS
> --------------------------------------
>                 Key: CXF-5309
>                 URL:
>             Project: CXF
>          Issue Type: Sub-task
>          Components: JAX-RS, JAX-WS Runtime
>            Reporter: Sergey Beryozkin
>         Attachments: patch-validation-exception-mapper.txt, patch-validation-poc.txt,

This message was sent by Atlassian JIRA

View raw message