Ok, yes a RTE shouldn't extend Object :-).  What is an "open com-link"?  I'm 
assuming it's using an rte to tell the programmer they've done something 
wrong which is exactly the purpose of them.

Dave


>From: Eddie Bush <[EMAIL PROTECTED]>
>Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
>To: Struts Developers List <[EMAIL PROTECTED]>
>Subject: Re: [commons-lang] What's up with NestableRuntimeException?
>Date: Tue, 08 Oct 2002 23:36:39 -0500
>
>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]>




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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

Reply via email to