You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jason Dillon <ja...@coredevelopers.net> on 2003/08/20 08:09:41 UTC
Re: [Geronimo][Common]NullArgumentException
I am not really sure why I did this... Perhaps I was really sleepy or
something. Long or int would have been better...
--jason
On Tuesday, August 19, 2003, at 03:38 AM, Emmanuel Bernard wrote:
> Hi,
> I'm looking at the geronimo/common code and have a question.
> In NullArgumentException, you add the following methods
> public NullArgumentException(final String name, final long index)
> public NullArgumentException(final String name, final Object index)
>
> Why did you use an Object class in the second method instead if a
> 'Long index' argument ?
>
> Emmanuel
>
> Ps : is it OK to use your email address for such a question ? Is the
> mailing list more appropriate ?
>
Re: [Geronimo][Common]NullArgumentException
Posted by Emmanuel Bernard <ep...@yahoo.fr>.
Hum, actually I'm the sleepy guy.
This constructor might be useful with Map or any Object indexed structures.
Forget about it
Emmanuel
Jason Dillon wrote:
> I am not really sure why I did this... Perhaps I was really sleepy or
> something. Long or int would have been better...
>
> --jason
>
>
> On Tuesday, August 19, 2003, at 03:38 AM, Emmanuel Bernard wrote:
>
>> Hi,
>> I'm looking at the geronimo/common code and have a question.
>> In NullArgumentException, you add the following methods
>> public NullArgumentException(final String name, final long index)
>> public NullArgumentException(final String name, final Object index)
>>
>> Why did you use an Object class in the second method instead if a
>> 'Long index' argument ?
>>
>> Emmanuel
>>
>> Ps : is it OK to use your email address for such a question ? Is the
>> mailing list more appropriate ?
>>
>