error checking should also be carried out in your private functions depending on what your cfcs are trying to acheive. Just say that you have an init function in your cfc that sets your instance variables e.g "variables.table" but the programmer forgets to call the init function!!! Cfcs are supposed to act as objects and the programmer should be able to use them without knowing the insides!!
"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/
