You know you've screwed up when you get an Allaire error!

{ Posted By : Eric Cobb on March 16, 2009 }
1242 Views
Related Categories: ColdFusion

That's right, CF gave me an Allaire error today! It's been a while since I've seen one of these. Brings back memories of my good ole' CF 4.0 days.

I got this while I was working on some code that makes a cfhttp call to a remote server. It's nothing fancy at all, just a simple cfhttp post method that passes 1 form field as a param. The server that I was posting to belongs to another company and I have no control over it. Apparently, they were having some problems today, because whenever I would try to make the http call, it would run for about a minute without connecting, then throw the following error:

Exceptions
21:18:23.023 - COM.Allaire.ColdFusion.HTTPFailure Exception.
Connection Failure: Status code unavailable

That's all. Nothing fancy. Just your regular COM.Allaire.ColdFusion.HTTPFailure.

I can't help but wonder, just how deeply buried in the bowels of CF does this process have to be to still be labeled as Allaire? Allaire has been gone for, what...5 or 6 years now? That's a lifetime in Internet years!

Of course, I guess at one point or another we've all come across some "old code" that was working, and you were afraid to touch it because it may break.

Comments
Steven Erat's Gravatar That exception is a standard ColdFusion cfcatch exception type baked into the language. Why haven't the exception types changed since Macromedia bought Allaire in 2001? Backwards compatibility probably. The benefit of updating the exception type name is not worth the risk of breaking existing customer applications by changing the language.

http://tinyurl.com/cfcatch-types
# Posted By Steven Erat | 3/16/09 11:41 PM