Deanna,


I assume you did something like this

<cferror type="exception" template="ErrorHandler.cfm"
exception="mycustom.exception">


....


<cfthrow type="mycustom.exception" errorcode="6">

Is that correct?  Are you doing multiple CFERRORS?


Thanks
Kevin

-----Original Message-----
From: Deanna Schneider [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 7:57 AM
To: CF-Talk
Subject: Re: Error Handling

Dave Watts wrote:
> You can specify custom exception types, in which case you can catch them
> with custom exception handlers. I haven't tried this with the CFERROR tag
> specifically, but according to the documentation you can specify custom
> exception types for the CFERROR tag when using TYPE="EXCEPTION".
>

I've just recently tried this, throwing a custom error of type "LDAP" and
providing a custom template to handle LDAP-specific errors. Works great!

-Deanna
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to