No issues. And a catch type is not needed. When the
catch type is left out, then the default is "any".
I think the issue here is that there is a difference
between exceptions and errors. Errors occur at first
pass compilation before the code on the page is
actually run. Exceptions occur at
You will need to put a catch type in... try
CFTRY
CFSWITCH etc etc
(all the stuff)
/CFSWITCH
CFCATCH TYPE="Any"
arhhh!!
/CFCATCH
/CFTRY
-Original Message-
From: Scott Weikert [mailto:[EMAIL PROTECTED]]
Sent:
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
cfcatch type="exception type"
By default the exception type is "APPLICATION" which is only developer
raised exception, ie. cfthrow, cfrethrow.
Syntax for CFCATCH:
http://www.allaire.com/cfdocs/CFML_Language_Reference/2_ColdFusion_Tags/lr2_
101.htm
Exception types:
4 matches
Mail list logo