What "type" are you catching?  "Any" or something else?

It's been a while, but I think it works for me using a VB COM object I
wrote.

M!ke 

-----Original Message-----
From: Eric J. Hoffman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 08, 2006 11:48 AM
To: CF-Talk
Subject: Cftry doesn't catch COM Errors

I have a cftry block wrapped around a cfscript that creates a COM object
and tries to talk to another server.
 
When it can't, it throws an error rather than following what I want to
happen in the cftry block around it.
 
Anyone know a good way to handle this error?
 
Thanks!
--------------------------------------------------------

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231661
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to