cxf-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CXF-5309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814980#comment-13814980
] 

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: https://issues.apache.org/jira/browse/CXF-5309
>             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,
patch-validation-tests.txt
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message