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/23 11:50:12 UTC

[jira] [Comment Edited] (OAK-563) Rename SessionDelegate...OrThrow methods

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

Michael Dürig edited comment on OAK-563 at 1/23/13 10:50 AM:
-------------------------------------------------------------

{{IllegalArgumentException}} wouldn't work because the TCK expects and {{RepositoryException}} at least in {{org.apache.jackrabbit.test.api.query.SaveTest#testRepositoryException}}.
See also JCR-3497.
                
      was (Author: mduerig):
    {{IllegalArgumentException}} wouldn't work because the TCK expects and {{RepositoryException}} at least in {{org.apache.jackrabbit.test.api.query.SaveTest#testRepositoryException}}.
                  
> 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