Just wondering when using a cftry what [b]type[/b] do you use when your working with cffile?
Azadi - 30 Jul 2008 05:09 GMT
iirc, with cffile, the errors not related to tag syntax are of type
APPLICATION. at least that's what i use to catch a wrong file mime type...
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Adam Cameron - 30 Jul 2008 09:47 GMT
> Just wondering when using a cftry what [b]type[/b] do you use when your working with cffile?
I presume you mean with CFCATCH?
You could force the kind of exception you're expecting to occur, and dump
the results in the catch block.
If you're not worried about specific types of exception, one can just use
"any".

Signature
Adam