[
https://issues.apache.org/jira/browse/SLING-5584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15182073#comment-15182073
]
Carsten Ziegeler commented on SLING-5584:
-----------------------------------------
Right but requiring a new javax package in order to get rid of an own package
does not look like a big advantage to me.
Wondering why the execption is not part of the sling.validation package?
> 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)