I noticed that too, while it may partly fulfill part (b) of my original post:
>> b) how do I throw my own exceptions with an exception context? it does not fulfill part (a) >> a) how do I either modify a thrown exception that I wish to rethrow (but with extra data) I may of course be after too much, and expecting too much of Cold Fusion hence my idea that I may need to delve into Java. Raymond Camden wrote: > When I do > > <cfset throw()> > > The tag context's first element line # _is_ the line number of the > cfthrow in the throw method, however item 2 is is the method that called > throw, and item 3 is the caller tag. This covers everything. > > I modified my cfc method to do this: > > <cffunction name="test"> > > <cfscript> > throw("Test one"); > </cfscript> > > <cfreturn now()> > > </cffunction> > > and -still- it worked correctly. Are you not seeing this? > > ======================================================================== > === > Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc > (www.mindseye.com) > Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) > > Email : [EMAIL PROTECTED] > Blog : www.camdenfamily.com/morpheus/blog > Yahoo IM : morpheus > > "My ally is the Force, and a powerful ally it is." - Yoda > > >>-----Original Message----- >>From: Oliver Tupman [mailto:[EMAIL PROTECTED] >>Sent: Wednesday, July 23, 2003 9:27 AM >>To: CF-Talk >>Subject: Re: Throwing exceptions from CFCs >> -- Oliver Tupman Key Systems Geotechnical ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4