You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2006/07/18 14:33:15 UTC

[jira] Resolved: (JCR-472) Wrap IllegalArgumentException from UUID when bad ID passed to Session.getNodeByUUID

     [ http://issues.apache.org/jira/browse/JCR-472?page=all ]

Jukka Zitting resolved JCR-472.
-------------------------------

    Fix Version/s: 1.1
       Resolution: Fixed

Fixed in revision 423073.

> Wrap IllegalArgumentException from UUID when bad ID passed to Session.getNodeByUUID
> -----------------------------------------------------------------------------------
>
>                 Key: JCR-472
>                 URL: http://issues.apache.org/jira/browse/JCR-472
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.0, 1.0.1, 0.9
>         Environment: WinXP
>            Reporter: David Kennedy
>         Assigned To: Jukka Zitting
>             Fix For: 1.1
>
>         Attachments: invalid-uuid.r418656.patch, invalid-uuid.r418741.patch
>
>
> Hi,
> On 6/30/06, David Kennedy <da...@us.ibm.com> wrote:
> > When invoking session.getNodeByUUID and passing an invalid ID, an
> > IllegalArgumentException is thrown.  Should this be wrapped in an
> > ItemNotFoundException or RepositoryException by SessionImpl?
> Good point, an ItemNotFoundException would probably be best. Could you
> please file a Jira issue for this?
> BR,
> Jukka Zitting

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira