> True... Bad example on my part. Let me rephrase then, what is 
> the best way to catch cfhttp errors then when a connection, 
> for whatever cannot be established?
> 
> Perhaps <cfif NOT isdefined("cfcatch.type")> or <cfif 
> cfcatch.type NEQ "COM.Allaire.ColdFusion.HTTPFailure">
> 
> I just want to be sure I am not missing something obvious.

I have no idea offhand what specific exception type is thrown when you have
a connection failure. You can find out by simply trying to connect to some
machine that's not running an HTTP server, catching and finally displaying
the exception type.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289143
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to