macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: <cftry>

Subject: Re: <cftry>
From: Adam Cameron <adam_junk@xxxxxxxxxxx>
Date: Wed, 30 Jul 2008 09:47:39 +0100
Newsgroups: macromedia.coldfusion.cfml_general_discussion

> 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".

-- 
Adam

<Prev in Thread] Current Thread [Next in Thread>