[ 
https://issues.apache.org/jira/browse/BVAL-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roman Stumm resolved BVAL-37.
-----------------------------

    Fix Version/s: 0.1-incubating
       Resolution: Fixed

> Ensure constraint definitions are valid
> ---------------------------------------
>
>                 Key: BVAL-37
>                 URL: https://issues.apache.org/jira/browse/BVAL-37
>             Project: BeanValidation
>          Issue Type: Bug
>          Components: jsr303
>    Affects Versions: 0.1-incubating
>            Reporter: Carlos Vara
>            Assignee: Roman Stumm
>             Fix For: 0.1-incubating
>
>         Attachments: bval-jsr303-37.patch
>
>
> When defining a new constraint, the annotation must:
> - Have a groups() attribute with an empty Class array as default value.
> - Have a payload() attribute with an empty Class<? extends Payload> array as 
> default value.
> - Have a message() attribute which returns a String.
> - No attribute that starts with 'valid'.
> In case this fails, a ConstraintDefinitionException must be thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to