> Does anybody know if you can cfthrow a user defined exception 
> inside of a custom tag and cfcatch it in the calling template?

Yes, you can certainly do this. To me, this is one of the best things about
exception handling - its use between components as an "error messaging
system".

You can build relatively complex exception handlers within custom tags,
which might throw an internal exception, catch that exception, and rethrow
it using CFTHROW to an external exception handler within the calling page.
You also have the CFRETHROW tag, which is designed to do this explicitly.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to