[
https://issues.apache.org/jira/browse/SLING-5584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15181747#comment-15181747
]
Carsten Ziegeler commented on SLING-5584:
-----------------------------------------
While I agree that a single exception in a package is something we should
avoid, I'm not sure about javax.validation.ValidationException. It's not part
of the JRE if I'm not mistaken
> replace SlingValidationException by ValidationException (javax.validation)
> --------------------------------------------------------------------------
>
> Key: SLING-5584
> URL: https://issues.apache.org/jira/browse/SLING-5584
> Project: Sling
> Issue Type: Improvement
> Components: Validation
> Reporter: Oliver Lietz
> Fix For: Validation 1.0.0
>
>
> The current Validation API contains a single exception
> {{SlingValidationException}} in package
> {{org.apache.sling.validation.exceptions}}. I don't see any added value in
> {{SlingValidationException}} and think we should remove the package and use
> {{javax.validation.ValidationException}} instead.
> [~cziegeler], [~kwin]: WDYT? (see _e)_ in SLING-4027)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)