why? it's an illegal argument, since the uuid format is not valid.
i disagree to throw another exception. i suggest to add the
IllegalArgumentException to the spec/javadoc.

regards, toby


On 6/30/06, Jukka Zitting <[EMAIL PROTECTED]> wrote:
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

--
Yukatan - http://yukatan.fi/ - [EMAIL PROTECTED]
Software craftsmanship, JCR consulting, and Java development



--
-----------------------------------------< [EMAIL PROTECTED] >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Reply via email to