Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / General CF Topics / July 2008



Tip: Looking for answers? Try searching our database.

<cftry>

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CF Nut - 30 Jul 2008 03:31 GMT
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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.