classpath
[Top][All Lists]
Advanced

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

Re: NYIException


From: Dalibor Topic
Subject: Re: NYIException
Date: Mon, 29 Sep 2003 04:22:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

David Holmes wrote:

Anyway it seems the two exception approaches are functionally
equivalent and it's really a matter of style/preference now:

- UnsupportedOperationException

  + semantically close in meaning
  + allows simple use of try/catch in portable programs

Only if portable means java 1.2 and above. There was no such class before java 1.2, it arrived with the collections framework API. ;)

  - not uniquely defining ie grepping for it will give false results

cheers,
dalibor topic





reply via email to

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