[prev in list] [next in list] [prev in thread] [next in thread]
List: groovy-dev
Subject: [groovy-dev] Re: [groovy-user] Why does null.clone() throw CloneNotSupportedException
From: Dierk_König <dierk.koenig () canoo ! com>
Date: 2009-02-26 12:42:17
Message-ID: C47827D7-19D7-4D99-B066-029C4E4C178E () canoo ! com
[Download RAW message or body]
this discussion should move over to the dev list.
Dierk
Am 26.02.2009 um 13:24 schrieb Guillaume Laforge:
> I think Jochen wanted to do some research to see if there was any
> rationale for throwing CNSE when it was implemented back then, but
> otherwise, yes, the concensus is going towards throwing NPE.
>
> On Thu, Feb 26, 2009 at 12:24, Peter Niederwieser
> <pniederw@gmail.com> wrote:
>>
>> Is there a consensus that NullObject.clone() should throw NPE
>> instead of
>> CloneNotSupportedException?
>
>
> --
> Guillaume Laforge
> Groovy Project Manager
> Head of Groovy Development at SpringSource
> http://www.springsource.com/g2one
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic