[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: NYIException
From: |
Regier Avery J |
Subject: |
RE: NYIException |
Date: |
Fri, 26 Sep 2003 10:57:09 -0500 |
There is a semantic difference between something not supported, and something
not implemented. There are iterators where I purposely throw an
UnsupportedOperationException() for remove() because it would be impossible to
do. That is very different from a NotYetImplementedException which tells the
programmer that they should be able to do this, but not quite yet.
Perhaps the default message for the NotYetImplementedException should be
"patches welcome."
--Avery
-----Original Message-----
From: Sascha Brawer [mailto:address@hidden
Sent: Friday, September 26, 2003 11:34 AM
To: GNU Classpath
Subject: Re: NYIException
Hi Andy,
>> [NotYetImplementedException]
> [JavaDoc tag]
>
>Do you mean additionally to the exception or instead?
With a JavaDoc tag (or some other convention for comments), there would
be no need to distinguish between NotYetImplementedException_1_3,
NotYetImplementedException_1_4, etc.
I agree that some exception should be thrown. But it might suffice to
just throw java.lang.UnsupportedOperationException. Not that I would
oppose a special NotYetImplementedException. Living in a neutral country,
I don't have an explicit opinion about such matters. :-)
-- Sascha
Sascha Brawer, address@hidden, http://www.dandelis.ch/people/brawer/
_______________________________________________
Classpath mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/classpath
- Re: NYIException, (continued)
- Re: NYIException, Ingo Prötel, 2003/09/25
- Re: NYIException, Etienne Gagnon, 2003/09/25
- Re: NYIException, Brian Jones, 2003/09/25
- Re: NYIException, Andy Walter, 2003/09/26
- Re: NYIException, Sascha Brawer, 2003/09/26
- Re: NYIException, Andy Walter, 2003/09/26
- Re: NYIException, Sascha Brawer, 2003/09/26
- Re: NYIException, Michael Koch, 2003/09/26
- Re: NYIException, Andy Walter, 2003/09/26
- Re: NYIException, Ricky Clarkson, 2003/09/29
RE: NYIException,
Regier Avery J <=
Re: NYIException, Dalibor Topic, 2003/09/27
RE: NYIException, Jeroen Frijters, 2003/09/27
RE: NYIException, Jeroen Frijters, 2003/09/27