> Hm. So if someone was stringent on how they use CFTHROW (if they use it at > all), > then it would do the same. Personally, I don't throw errors. I write code to > deal with specific error events. I just like to be specific about error > handling.
Um, isn't cfthrow dealing with events? If someone calls method foo(), and foo expects one argument, a number, greater than zero, shouldn't you throw an error if they pass in -1? Sure your client code should stop it, but if you distribute your CFC you don't always have control over the client. -Ray ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - New Atlanta http://www.newatlanta.com Message: http://www.houseoffusion.com/lists.cfm/link=i:5:138702 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
