Query - in what way do you need the exceptioncontext? If the error involves method foo and arg X, couldn't you just do
<cfthrow message="You passed X to method Goo. X needs to be over whatever." type="mycfc"> ======================================================================== === 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 8:42 AM > To: CF-Talk > Subject: Re: Throwing exceptions from CFCs > > > Raymond Camden wrote: > >>The questions are > >>a) how do I either modify a thrown exception that I wish to > >>rethrow (but > >>with extra data) > > > > > > Why not make your throw method take the relevent args, message, > > detail, etc so you can pass them in? > > Yeah, I thought of that. The problem is that cfthrow's > attributes do not > allow you to pass the exception context unless you pass an object, > unfortunately I can't seem to create an object to pass to it. I'm > thinking it's some sort of Java exception object but I don't > seem to see > which methods will suit my purposes. > > > > ====================================================================== > > == > > === > > 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 > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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

