[
https://issues.apache.org/jira/browse/OAK-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Dürig resolved OAK-582.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.7
Assignee: Michael Dürig
Fixed at revision 1437975
> Throw IllegalArgumentException on invalid paths instead of a
> RepositoryException (subtype)
> ------------------------------------------------------------------------------------------
>
> Key: OAK-582
> URL: https://issues.apache.org/jira/browse/OAK-582
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core, jcr
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Fix For: 0.7
>
>
> This is a follow up to OAK-563. As discussed
> [there|https://issues.apache.org/jira/browse/OAK-563?focusedCommentId=13556361&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13556361],
> passing syntactically invalids paths to Oak should rather return in an
> {{IllegalArgumentException}} instead of a (subtype) of a
> {{RepositoryException}} as this is clearly a programmer's error and not an
> exception condition of the repository itself.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira