[ http://issues.apache.org/jira/browse/JCR-472?page=all ]
Jukka Zitting updated JCR-472:
------------------------------
Attachment: invalid-uuid.r418656.patch
Attached a proposed fix for this.
> 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
>
> Hi,
> On 6/30/06, David Kennedy <[EMAIL PROTECTED]> 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