Re: IllegalArgumentException with invalid UUID

2006-07-05 Thread David Kennedy
"Jukka Zitting" <[EMAIL PROTECTED]> wrote on 07/02/2006 04:46:28 PM: > Hi, > > On 7/2/06, Tobias Bocanegra <[EMAIL PROTECTED]> wrote: > > 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

Re: IllegalArgumentException with invalid UUID

2006-07-03 Thread Stefan Guggisberg
hi jukka, On 7/2/06, Jukka Zitting <[EMAIL PROTECTED]> wrote: Hi, On 7/2/06, Tobias Bocanegra <[EMAIL PROTECTED]> wrote: > 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/java

Re: IllegalArgumentException with invalid UUID

2006-07-02 Thread Nicolas Toper
I agree wsith Jukka. It makes sense. On 7/2/06, Jukka Zitting <[EMAIL PROTECTED]> wrote: Hi, On 7/2/06, Tobias Bocanegra <[EMAIL PROTECTED]> wrote: > why? it's an illegal argument, since the uuid format is not valid. > i disagree to throw another exception. i suggest to add the > IllegalArgume

Re: IllegalArgumentException with invalid UUID

2006-07-02 Thread Jukka Zitting
Hi, On 7/2/06, Tobias Bocanegra <[EMAIL PROTECTED]> wrote: 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. The spec never references the UUID specification or defines th

Re: IllegalArgumentException with invalid UUID

2006-07-02 Thread Tobias Bocanegra
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]> wro

Re: IllegalArgumentException with invalid UUID

2006-06-30 Thread Jukka Zitting
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 p