M
> To: CF-Talk
> Subject: Re: Throwing exceptions from CFCs
>
>
> Raymond,
>
> I still think we're not quite on the same level here. That or
> my MX is
> acting weird. I do indeed get the context, but it still comes
> from the
> , not the Throw() function
EMAIL PROTECTED]
> Sent: Wednesday, July 23, 2003 9:48 AM
> To: CF-Talk
> Subject: Re: Throwing exceptions from CFCs
>
>
> 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 exc
Raymond,
I still think we're not quite on the same level here. That or my MX is
acting weird. I do indeed get the context, but it still comes from the
, not the Throw() function.
Try the following component and just call test() without any exception
handling around it:
er 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 Mes
Message-
> From: Oliver Tupman [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 23, 2003 9:27 AM
> To: CF-Talk
> Subject: Re: Throwing exceptions from CFCs
>
>
> Raymond Camden wrote:
>
> > Ah, so you need to know _who_ called your method in the
> incorrect
upman [mailto:[EMAIL PROTECTED]
>>Sent: Wednesday, July 23, 2003 9:15 AM
>>To: CF-Talk
>>Subject: Re: Throwing exceptions from CFCs
>>
>>
>>Raymond Camden wrote:
>>
>>
>>>Query - in what way do you need the exceptioncontext? If the error
>&
To: CF-Talk
> Subject: RE: Throwing exceptions from CFCs
>
>
> Ah, so you need to know _who_ called your method in the
> incorrect way, right?
>
> ==
> ==
> ===
> Raymond Camden, ColdFusion Jedi Maste
15 AM
> To: CF-Talk
> Subject: Re: Throwing exceptions from CFCs
>
>
> Raymond Camden wrote:
>
> > Query - in what way do you need the exceptioncontext? If the error
> > involves method foo and arg X, couldn't you just do
> >
> >
>
> Yes I cou
uot;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
>>
>>
IL 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
> >
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 cf
> 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?
===
R
Hi all,
I'm writing a whole bunch of CFCs for our company Intranet and I've come
up on this problem time and time again:
I code a lot of my CFCs in near-pure CFScript. For some reason in CFMX,
Macromedia have provided us with the try and catch statements, but not a
throw statement/function.
A
13 matches
Mail list logo