|
<cfset myException = CreateObject(“component”
“cfc.CustomValidationException”).init(“An error occurred
while validating the data.”)> <cfset myException.addInvalidData(someBadInfo)> <cfset myException.addInvalidData(moreBadInfo)> <cfset myException.addInvalidData(someWorseInfo)> <cfthrow exception=”myException”> While it’s not at the top of my
list, I too think it would be a nice feature. I hate having to encode
data in strings and lists. Roland From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Kenney I like this one. I don't
know how it would work, but very interesting. On 5/15/05, Jon
Gunnip <[EMAIL PROTECTED] >
wrote: I would like to see
support for throwing CFC's as exceptions. Right
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected] |
- Re: [CFCDev] Null values (was CFC wish-list) Barney Boisvert
- RE: [CFCDev] Null values (was CFC wish-list) Hal Helms
- RE: [CFCDev] Null values (was CFC wish-list) Ben Rogers
- Re: [CFCDev] Null values (was CFC wish-list) Steve Bryant
- Re: [CFCDev] CFC wish-list Sean Corfield
- Re: [CFCDev] CFC wish-list Sean Corfield
- RE: [CFCDev] CFC wish-list Roland Collins
- Re: [CFCDev] CFC wish-list Barney Boisvert
- Re: [CFCDev] CFC wish-list Jon Gunnip
- Re: [CFCDev] CFC wish-list Paul Kenney
- Re: [CFCDev] CFC wish-list Roland Collins
- Re: [CFCDev] CFC wish-list Barney Boisvert
- Re: [CFCDev] CFC wish-list Doug Keen
- Re: [CFCDev] CFC wish-list Sean Corfield
- Re: [CFCDev] CFC wish-list Joe Rinehart
- Re: [CFCDev] CFC wish-list Joe Rinehart
- RE: [CFCDev] CFC wish-list Ben Rogers
- RE: [CFCDev] CFC wish-list Seth MacPherson
