> Steve wrote:
>
> I like the idea of matching the throws up with 
> the catches. I currently test my fusedocs before 
> i start coding by doing simple matches between in 
> and out variables. We could and probably should do 
> the same thing with exceptions. 

I don't think that's a good idea. I tend to think of
exceptions as an alternative to <cfabort>. Something
really unexpected happens and the only thing you can
do at this point is give up. But you don't want to
<cfabort> because that would stop the whole
application. What you really want to do is stop this
module and let the code that called it decide what 
to how to proceed.

Therefore you should only really be concerned with 
the throws. The catches (if there are any) are outside 
the code you have control over. You can't and
shouldn't match up catches with throws.

Patrick

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to