[ 
https://issues.apache.org/jira/browse/OAK-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13556327#comment-13556327
 ] 

Michael Dürig commented on OAK-563:
-----------------------------------

I think the reverse is true ;-) How could a client tell whether the problem is 
that {{http://some.unknown.namespace.url/}} is unknown or an item at some path 
does not exist if in both cases the exception is {{PathNotFoundException}}?

Or put in a different way: how can node "not be there" if we don't even no its 
path due to an error in path mapping?



                
> Rename SessionDelegate...OrThrow methods
> ----------------------------------------
>
>                 Key: OAK-563
>                 URL: https://issues.apache.org/jira/browse/OAK-563
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 0.6
>
>         Attachments: OAK-563.patch
>
>
> As a fallout of OAK-553 there are some inconsistency in method naming in 
> {{SessionDelegate}} now. We should align the names of the ...OrThrow methods. 
> That is, drop the OrThrow suffixes.

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

Reply via email to