>
> That's too bad... and if I use something else then CFTHROW?
>  
> I don't want to write all the error-handling myself, because
> I want the CFC to work on it's own... I want my collegues to
> use the CFC aswell, and they must get the errors they are
> used to when they use it wrongly...

I'm a bit confused by this though. How is this not a "normal" error, or
an error they are used to? If calling cfc.moo() throws an error, the
error you get is no different then calling arrayLen() on a non-array
item for example. Also, the error information should also contain the
calling template I believe, something like,

error on line x in cfc,
called by line y in cfm

Are you not seeing that? Do you have robust exception info turned on?


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to