The best way to do this is to customise your errors in your cfcs - because
the error will not be caught if you wrap it around the calling code
e.g

<cfif variables.table eq "" >
   <cfthrow type="TABLE_NOT_DEFINED" >
  </cfif>

hope this helps
Gav

"Jamie Lawrence Jenner" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> hi folks,
>
> justa quicky
>
> what is the best method to error catch. Wrap specific functions within
> cfcs in cftry/catch blocks, or the calls to these fucntions in cftry/catch
>  blocks? or both?
>
> my inkling is to wrap the calls in try/catch blocks
>
> cheers
>
> jamo
>
>



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to