Hi Folks,

Fair comment by Dave:
> Eddie,
> Why do you consider it bad to extend Object directly?  You also said you
> prefer checked exceptions but I think that's missing the point of
exception
> handling.  A good article is here:
> http://www.javaworld.com/jw-07-1998/jw-07-techniques.html
>
> Not to be obvious but:
>
> RuntimeExceptions are not "warnings", they indicate a client programmer
> error (ie. misuse of a library method).  Checked exceptions indicate an
> abnormal condition that a method could not handle and require you to catch
> them, as opposed to returning an error code

The best explanation of Exception handling in Java I've come
across is in Josh Bloch's "Effectice Java" book (and honestly
I am not receiving any royalties...;-) )
I have summarised this info so I have a quick ref-card to
stop me doing something silly with my exception handling.

It's attached as an rtf doc - hope it helps...
Jon

Attachment: exceptions.rtf
Description: MS-Word document

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to