David Graham wrote:

> 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.
>
> Dave 

... bad for the RTE to extend Object directly?  I think there are better 
spots for it to start - which it actually does.  The javadoc I saw was 
... misleading (to be nice).

I'll check out your article :-)

I see what you're saying about the RTE.  I ... was taught you shouldn't 
use exceptions as an "open com-link" though - which, I think, is how I 
view that branch. I'll read your article ;-)

-- 
Eddie Bush




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

Reply via email to