You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2013/01/24 11:33:22 UTC

[jira] [Created] (OAK-582) Throw IllegalArgumentException on invalid paths instead of a RepositoryException (subtype)

Michael Dürig created OAK-582:
---------------------------------

             Summary: 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


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