At 12:26 PM 9/23/2002 -0700, you wrote: >On Monday, September 23, 2002, at 12:12 , Alexander Sherwood wrote: > > <cfscript> > > stReturn = structNew(); > > stReturn.bOK = 1; > > stReturn.details = ''; > > stReturn.result = ''; > > </cfscript> > >Why not use exceptions for the error case?
I guess I could. I try to keep the CFCs as specific as possible in terms of their function, so I usually have a some kind of custom tag wrapper that calls the CFC and handles the exception logic. I guess there really isn't much difference between the two approaches. Thanks, ---------------------------------- Alex Sherwood PHS Collection Agency THE COLLECTORS 301.215.4200 T 301.664.6834 F www.phs-net.com ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

