Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
Learn how to use the C# InnerException property to preserve and inspect the original exception when one exception causes another.
Learn to configure and use the Enterprise Library 5.0 Exception Handling Application Block in an ASP.NET application, including exception policies and web.config settings.
Here, I will explain Exception Handling in a Parallel Task Library.
In this article, you will learn about In-Depth Analysis of Exception Handling in C#.
The try catch statement in C# provides a way to handle runtime errors. Code examples of use of C# try catch finally.
C# Exception Handling - Exception is a class in C#. Learn how to implement exception handling in C#.
The try catch finally block in .NET Framework and C# provides a mechanism to handle runtime errors. This step by step tutorial explains how to handle exception in C# code.
In this article I will describe how to use the ErrorHandling dll when an exception happens and how to register the Exception in a text file.
Learn the basics of handling exceptions in C# using try, catch, and finally blocks.
In this article we will learn tourbleshooting with the log4net RollingFileAppender.
In this article you will learn about possible explanations for a file size mismatch between a FTP and local machine.
In this article we will learn about the basics of inner exceptions with an example.
Learn the difference between syntax, logical, and runtime errors in C#, and see a try-catch example that handles DivideByZeroException.
In this article you will learn about user defined exceptions in C#.
This article explores exception handling mechanisms in C#, including an explanation of exceptions and why we need to catch exceptions.
This article explains how to properly handle existing exceptions using try, catch, finally and throw blocks and how to create your own custom exceptions.
Learn how to handle exceptions in C# using try, catch, and finally blocks, including multiple catch statements, DivideByZeroException, OverflowException, and StackTrace.
This article shows you how to use Microsoft Exception Management Application Block to write custom exceptions.
Learn how to use a C# error logger that records System.Exception and SqlException details in strongly typed XML files, with optional contextual data.
Exception management is one of the key area for all kinds of application development .You should adopt an appropriate strategy for exception management to build high quality and robust application .It is a very powerful concept and makes the development work very easy if its used efficiently.
Structured exception handling is a fundamental part of the CLR and provides .Net programmers a great way of managing errors. In addition to CLR exception system, ASP.Net also provides ways of handling errors.
Exceptions in C# provide a structured, and type-safe way of handling both system level and application level error conditions. The exception mechanism in C# is very similar to that of C++, with a few important differences.
This is a simple utility to display exceptions. Each exception in the chain is added to an ArrayList and displayed in reverse order in a ListView control.
The purpose of this tutorial is to explain firstly how you would go about creating your own set of exceptions to trap error conditions that could occur in your code or library, for your own benefit or for the benefit of another developer using your library. The second lesson is on how the C# exception stack works, and how you can use it to catch all types of exceptions.
A good exception handling should care about user as well as developer. i.e. developer can easily locate the exception entry point, may be a function or any where in a vast project, and fix it as soon as possible. So in this writing I tried some exception handlings which will consider both user and developer.
In this article, I try to cover the key principles and the main techniques of exception and error handling with examples in SQL Server, Oracle and Microsoft .NET.
In this article you will learn how to use Customized Exception Handling Using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling
I have written some code that provide your system with some nice features on error logging in ASP.NET.
In this article I will describe how to log program exceptions and save into a text file.
In this quick article you will learn Error Handling mechanisms available in C#.
Everything on Exception Handling, not only its articles: the Exception Handling page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article