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

Oliver Lietz commented on SLING-5373:
-------------------------------------

Did you mix up {{DefaultValidationResult}} and {{DefaultValidationFailure}} 
above?

> Allow different severities per validator
> ----------------------------------------
>
>                 Key: SLING-5373
>                 URL: https://issues.apache.org/jira/browse/SLING-5373
>             Project: Sling
>          Issue Type: Bug
>          Components: Validation
>            Reporter: Konrad Windszus
>             Fix For: Validation 1.0.0
>
>
> It would be good to be able to define a severity either on the validator 
> itself or within the validation model. That would allow to later on 
> differentiate the handling on how to treat those violations. 
> Depending on the violation severity one could decide to either throw an 
> exception or just expose the violation failure message for informational 
> purposes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to