classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NYIException


From: Per Bothner
Subject: Re: NYIException
Date: Sun, 28 Sep 2003 19:58:21 -0700
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030827

David Holmes wrote:

- UnsupportedOperationException

  + semantically close in meaning
  + allows simple use of try/catch in portable programs
  - not uniquely defining ie grepping for it will give false results

The proposal from March takes care of this:
throw new UnsupportedOperationException("not implemented[ - optional reason]");
This makes grep easy.

  + No new classes needed.
  + No dependency on non-standard classes.  I.e. somebody can contribute
an incomplete implementation of a class that without having to depend
on ClassPath.

- NYIException

  + semantically exact in meaning

True.  However to what extent is this useful?
--
        --Per Bothner
address@hidden   http://per.bothner.com/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]