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



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

Reply via email to