jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra" <tobias.bocane...@day.com>
Subject Re: IllegalArgumentException with invalid UUID
Date Sun, 02 Jul 2006 16:28:09 GMT
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 <jukka.zitting@gmail.com> wrote:
> 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
>
> --
> Yukatan - http://yukatan.fi/ - info@yukatan.fi
> Software craftsmanship, JCR consulting, and Java development
>


-- 
-----------------------------------------< tobias.bocanegra@day.com >---
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 >---

Mime
View raw message