harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: svn commit: r478636 - in /harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt: Canvas.java Component.java Font.java MenuComponent.java Toolkit.java Window.java geom/Area.java
Date Fri, 24 Nov 2006 16:49:16 GMT
+1

Tim Ellison wrote:
> apetrenko@apache.org wrote:
>> -    public void add(Area area) {
>> +    public void add(Area area) throws org.apache.harmony.luni.util.NotImplementedException
{
>>          throw new RuntimeException("Not implemented"); //$NON-NLS-1$
>>      }
> 
> Sorry if I'm getting annoying ;-) but why not :
> (1) import the NotYetImplementedException like we do everywhere else for
> type we reference, and
> (2) actually throw it rather than a generic RuntimeException?
> 
> Regards,
> Tim
> 

Mime
View raw message