Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / programming / exceptions

Exceptions

exceptions

Great Reads

by Mark Pelf
NET8/EF8 Breaking Change. Old servers/databases might not understand queries from EF8.
by JatinKhimani
Develop a web application in 3 layer architecture code style
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 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.

Latest Articles

by Mark Pelf
NET8/EF8 Breaking Change. Old servers/databases might not understand queries from EF8.
by JatinKhimani
Develop a web application in 3 layer architecture code style
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 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.

All Articles

Sort by Score

exceptions 

by Mark Pelf
NET8/EF8 Breaking Change. Old servers/databases might not understand queries from EF8.
by 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.
by Al-Farooque Shubho
An effort to derive a basic Exception Management design guideline for N-Tier ASP.NET applications
by ManojKumar19
Server side logging for Silverlight applications using NLog 2.0
by Grant Harmer
Managing exceptions when consuming WCF services via the BizTalk ESB Toolkit
by Sergey Kizyan
My lecture #8 about exceptions handling and organization of error handling in the project
by Emrah KAYA
An easy way to catch exceptions and log them in C++.
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.
by 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
by OlegKrivtsov
An overview of the standard exception handling techniques provided by Visual C++.
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 Shivprasad koirala
In this article we have discuss 6 ways of handling exceptions in ASP.NET MVC.
by Marla Sukesh
Supporting article for MVC step by step series. Here we will see detail demonstration on exception handling.
by Balachandar Jeganathan
Exception handling using custom attributes and stacktrace.
by Oktay Ekincioglu
Exception handling practices like avoiding null values, writing predictable function signatures, avoiding null reference exceptions, etc.
by Richard Waddell
ViewModel provides both IDataErrorInfo and collection binding for field-level errors and exceptions on client and server.
by Haneef Shaik
Fault Contract - Handling errors in WCF and a simple WCF service implementation
by 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
by cogi83
A SW to send your WAN IP and other info via email
by chain1234
Use the AppDomain to load another .NET assembly version.
by 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 →
by 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
by Darren Weir
Log reporting dashboard for Log4Net, NLog, ELMAH, and ASP.NET Health Monitoring.
by mgoad99
Logging unhandled exceptions in an ASP.NET website using MS Enterprise Application Blocks.
by OlegKrivtsov
How to write C++ code more tolerant to critical errors.
by 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
by Giovanni Scerra
Patterns to prevent null reference exceptions
by 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.
by ASP.NET Community
ASP.net provides facilities in web.config for specifying error pages when an exception occurs, for example:            <customErrors
by Mircea Neacsu
C++ thread objects and their use
by David Catriel
How to get a list of data rows that caused an exception (or several of them) in a SqlBulkCopy operation
by SumitJaiswal
Knowledge sharing article on WWF.
by Greg Utas
Keeping a program running when it would otherwise abort
by 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.
by jgauffin
Coderr automatically detects and analyzes errors so that you can focus on solving them.
by 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
by Sander Rossel
This article describes multiple implementations of proper Try... Catch... Finally and Using... End Using blocks in your code.
by Shemeer NS
WCF - Exception Handling, Global Exception Handling, FaultExceptions and FaultContracts
by Borja Prado
WinRT Apps exception logging with WinrtErrLog and Google Spreadsheets.
by Ajay Vijayvargiya
Let's enhance our Debugger!