• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Fusebox 4 Exception Handling

Explorer ,
May 19, 2006 May 19, 2006

Copy link to clipboard

Copied

Hello,

I am trying to implement exception handling by email (i.e. when an application exception state occurs I want to be notified by email) with a Coldfusion Fusebox 4 application. I would also like to provide a friendly on-screen error notification to the user. However, I am unsure what would be the best way to achieve this. Are there any plugins available or could someone suggest/provide some code that will help me achieve this?

Many thanks,

Simon Bingham
TOPICS
Advanced techniques

Views

219

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 27, 2006 May 27, 2006

Copy link to clipboard

Copied

LATEST
Here's an example of what you have to put in a plugin in the fuseactionException phase:


<cfcatch type="myApp">
<cfsilent>
<cfswitch expression="#cfcatch.type#">
<cfcase value="myApp.SecurityException">
do something
</cfcase>
<cfcase value="myApp.DatabaseException">
do something else
</cfcase>
<cfdefaultcase>
<cfrethrow>
</cfdefaultcase>
</cfswitch>
</cfsilent>
</cfcatch>

Hope it helps

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation