jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-472) Wrap IllegalArgumentException from UUID when bad ID passed to Session.getNodeByUUID
Date Fri, 14 Jul 2006 08:28:31 GMT
    [ http://issues.apache.org/jira/browse/JCR-472?page=comments#action_12421039 ] 

Tobias Bocanegra commented on JCR-472:
--------------------------------------

+1 go ahead

> 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
>         Type: Improvement

>   Components: core
>     Versions: 1.0, 1.0.1, 0.9
>  Environment: WinXP
>     Reporter: David Kennedy
>     Assignee: Jukka Zitting
>  Attachments: invalid-uuid.r418656.patch, invalid-uuid.r418741.patch
>
> Hi,
> On 6/30/06, David Kennedy <davek@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


Mime
View raw message