ColdFusion's Catch Struct Not Locally Varred?
Posted by
Brad Wood
Jan 19, 2011 05:05:00 UTC
When catching an error in a CFC, I've always assumed that the exception object was a locally scoped variable, specific to that method call. Some interesting errors we received from the depths of our ColdBox framework made me start to question that. I concocted a test last night which appears to prove that your exceptions are not thread safe in a CFC stored in a persistent scope. (In CF8, at least)
Tags: ColdFusion