You will need to put a catch type in... try
<CFTRY>
<CFSWITCH etc etc>
(all the stuff)
</CFSWITCH>
<CFCATCH TYPE="Any">
arrrrrhhhhhhhhhhh!!
</CFCATCH>
</CFTRY>
-----Original Message-----
From: Scott Weikert [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 18:00
To: CF-Talk
Subject: cftry/cfcatch and cfswitch issues?
Hey gang,
A fellow co-worker is working on adding some CFTRY/CFCATCH goodies to a site
we're working on. It's a semi-FuseBox site - not 100% Fusebox but close
enough for gub'mint work.
So what we're trying:
<CFTRY>
<CFSWITCH etc etc>
(all the stuff)
</CFSWITCH>
<CFCATCH> blah blah
</CFCATCH>
</CFTRY>
and it doesn't seem to be catching any errors.
Are there issues wrapping the switch(s) inside the try? Do we need to, in
each of the includes that are fired up within the cases within the switches,
do try/catch?
Thanks in advance,
--Scott
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists