so

<cffunction
        <cftry>
                <cfargument
        <cfcatch>
        </cfcatch>
        </cftry>

function body
</cffunction>

is the best way ? is there a more elegant solution for reporting validation
errors?

WG


Jedi Master>>
> It would no different then catching any other exception. try/catch
> should work fine.

> > Anyone got a tutorial / examples with dealing with exceptions
> > in a cfc , especially catching validation errors thrown from
> > <cfargument type=""...
> >
> > Thanks
> >
> > WG

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to