Click here to Skip to main content
13,500,000 members

Exceptions

Great Reads

by Giovanni Scerra
Patterns to prevent null reference exceptions
by Marco Bertschi
This tip presents an easy way of verbosely converting an exception and its inner exceptions to a string in order to get access to all details.
by Amogh Natu
This tip provides one solution to the exception "Configuration system failed to initialize" in C#
by Arthur Minduca
How to handle faults in WCF without declaring them explicitly

Latest Articles

by Shai Cohen
By utilizing some fairly mundane features of .NET, we can log errors at the point where the exception occurred; preserving vital debug information while avoiding repetitive error logging.
by John M. Dlugosz
“Whither exception handling?” We have come full circle.
by jgauffin
Coderr automatically detects and analyzes errors so that you can focus on solving them.
by Jasper Lammers
A method to easily toggle the way exceptions are being handled (either being thrown or handled by custom code), while still conserving the stack trace when exceptions are not being thrown.

All Articles

Sort by Updated

Exceptions 

10 Jan 2011
Ajay Vijayvargiya
Let's enhance our Debugger!
27 Nov 2012
Akinmade Bond
This article shows how to register and manage System-Global hotkeys in WinForm and WPF applications and performing some keyboard manipulation from your app and has a custom hotkey control.
9 Feb 2011
Al-Farooque Shubho
An effort to derive a basic Exception Management design guideline for N-Tier ASP.NET applications
11 Oct 2013
ASP.NET Community
This article presents a way to log and mail the errors from any web page.It logs following details -Control on which the error is raisedPage
11 Oct 2013
ASP.NET Community
Introduction There had been much discussion on how to make your application compatible with the IIS7 Integrated mode. To know how to make your
11 Oct 2013
ASP.NET Community
WCF provides us a facility to specify the fault behavior of our service. It provides a FaultException Class. Whenever our service implementation
11 Oct 2013
ASP.NET Community
Using Response.Redirect and Response.End in Try...Catch blockIn ASP.NET if you are using Response.End - Used for terminating page execution or
11 Oct 2013
ASP.NET Community
ASP.net provides facilities in web.config for specifying error pages when an exception occurs, for example:           
11 Oct 2013
ASP.NET Community
Global.asax, is the global file in the web application, which offers application level events to be registered. There are many of the events in this
25 Nov 2013
Balachandar Jeganathan
Exception handling using custom attributes and stacktrace.
2 Dec 2013
Borja Prado
WinRT Apps exception logging with WinrtErrLog and Google Spreadsheets.
8 Jul 2013
chain1234
Use the AppDomain to load another .NET assembly version.
8 Sep 2014
cogi83
A SW to send your WAN IP and other info via email
23 Aug 2010
Darren Weir
Log reporting dashboard for Log4Net, NLog, ELMAH, and ASP.NET Health Monitoring.
19 Jun 2012
David Catriel
How to get a list of data rows that caused an exception (or several of them) in a SqlBulkCopy operation
17 Jan 2013
David Serrano Martínez
A strong exception guarantee tester has been written to test how robust methods of class templates are when faced with third party exceptions.
16 Aug 2010
Emrah KAYA
An easy way to catch exceptions and log them in C++.
26 Feb 2015
Giovanni Scerra
Patterns to prevent null reference exceptions
4 Nov 2012
Grant Harmer
Managing exceptions when consuming WCF services via the BizTalk ESB Toolkit
31 Mar 2014
Haneef Shaik
Fault Contract - Handling errors in WCF and a simple WCF service implementation
3 Jan 2018
Jasper Lammers
A method to easily toggle the way exceptions are being handled (either being thrown or handled by custom code), while still conserving the stack trace when exceptions are not being thrown.
9 Jan 2014
jgauffin
OneTrueError.com is my new startup for .NET developers. It’s a bit like ELMAH, but for most of Microsoft’s different frameworks, and with a tad bit of analytics. As you might have noticed I’ve not been blogging that much the last … Continue reading →
8 Sep 2016
jgauffin
codeRR is an open source error handling service. It includes the context information that you forgot to include when you logged/reported the exception.
10 May 2018
jgauffin
Coderr automatically detects and analyzes errors so that you can focus on solving them.
28 Apr 2012
ManojKumar19
Server side logging for Silverlight applications using NLog 2.0
4 Dec 2014
Marla Sukesh
Supporting article for MVC step by step series. Here we will see detail demonstration on exception handling.
14 Jan 2011
mgoad99
Logging unhandled exceptions in an ASP.NET website using MS Enterprise Application Blocks.
23 Nov 2017
Oktay Ekincioglu
Exception handling practices like avoiding null values, writing predictable function signatures, avoiding null reference exceptions, etc.
6 Jan 2012
OlegKrivtsov
An overview of the standard exception handling techniques provided by Visual C++.
27 Jun 2011
OlegKrivtsov
How to write C++ code more tolerant to critical errors.
25 Oct 2013
Raul Iloc
This second article from the "MVC Basic Site" series presents in details the exceptions management rules and their implementation for an ASP.NET MVC web site, and provides some utile base classes and source code for Logging and Exceptions Management that can be reused.
25 Aug 2010
Richard Waddell
ViewModel provides both IDataErrorInfo and collection binding for field-level errors and exceptions on client and server.
5 Feb 2011
Sander Rossel
This article describes multiple implementations of proper Try... Catch... Finally and Using... End Using blocks in your code.
29 Aug 2016
Sergey Kizyan
My lecture #8 about exceptions handling and organization of error handling in the project
28 Nov 2018
Shai Cohen
By utilizing some fairly mundane features of .NET, we can log errors at the point where the exception occurred; preserving vital debug information while avoiding repetitive error logging.
29 Jan 2016
Shemeer NS
WCF - Exception Handling, Global Exception Handling, FaultExceptions and FaultContracts- Detailed explantion with Sample Codes.
5 Dec 2014
Shivprasad koirala
In this article we have discuss 6 ways of handling exceptions in ASP.NET MVC.
18 Mar 2013
Sudheesh.P.S
Automatic thread synchronization classes which throw exceptions instead of error codes.


Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.190306.1 | Last Updated 24 Mar 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid