|
From: | Per Bothner |
Subject: | Re: GNU Classpath Linuxtag meeting minutes |
Date: | Mon, 14 Jul 2003 09:08:19 -0700 |
User-agent: | Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030612 |
Mark Wielaard wrote:
- We should have a standard NotYetImplementedException. Just returning something random (like null) from stubs is really not acceptable. Kaffe for example has one.
In the gcj list I suggested UnsupportedOperationException, with a refinement:
throw new UnsupportedOperationException (REASON); where REASON is a string literal that includes "not implemented" and all on a single line (to make it easy to grep for). See http://gcc.gnu.org/ml/java/2003-03/msg00016.html -- --Per Bothner address@hidden http://per.bothner.com/
[Prev in Thread] | Current Thread | [Next in Thread] |