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
[EMAIL PROTECTED]   http://per.bothner.com/




_______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to