[
https://issues.apache.org/jira/browse/SLING-5584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15182161#comment-15182161
]
Carsten Ziegeler commented on SLING-5584:
-----------------------------------------
Right, semantic versioning is a good reason to keep things in different
packages. However :) in this case how likely is it that the exception is
enhanced without adding anything to the core api package? I would assume it's
very unlikely, therefore putting it in the same package is fine.
> 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)