I have a suggestion for a change to enhance the clarity of an error
message. I am constantly wondering which property I may have failed to
set for a coldspring bean. The error message only specifies there was a
property that could be set but was not. Anyone have an objection to
changing it to list the name of the property that could have been set
also?

Change the throw message on line 167 of
coldspring/beans/BeanDefinition.cfc
from <cfthrow type="coldspring.beanDefException" 
                                         message="property requested
does not exist for bean: #getBeanID()# "/>
to
<cfthrow type="coldspring.beanDefException" message="property requested
(#Arguments.propertyName#) does not exist for bean: #getBeanID()# "/>


**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************

Reply via email to