Exception Handling
The exception handling is a process to handle the runtime errors so that normal flow of program execution can be maintained. Here you may find Exception Handling related articles and news.


  • Try catch finally 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

    C# Exception Handling - Exception is a class in C#. Learn how to implement exception handling in C#.
  • Exception Handling in C#

    C# Exception handling is a mechanism in .NET to detect and handle run time errors. The try..catch block is used to implement exception handling in C#. In try..catch..finally block, finally is used for
  • Handling Runtime Exceptions 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.
  • Throwing Exceptions In Expressions In C# 7.0

    In C# 7.0, the C# team introduced a new feature that allows developers to throw exceptions in Lambda expressions.
  • Exception Error Handling Log Maintenance in a Text File: Part 2

    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.
  • Exception Handling and .NET

    Error Handling has always been crucial for an application in a number of ways. It may affect the execution state of the application, or expose sensitive information to a user. If the error handling is
  • Troubleshooting With Log4net RollingFileAppender

    In this article we will learn tourbleshooting with the log4net RollingFileAppender.
  • Reason For File Size Mismatch In FTP And Local Machine

    In this article you will learn about possible explanations for a file size mismatch between a FTP and local machine.
  • Write an Exception in Event Log

    In this article we learn how to write an Application Exception to the Event Log.
  • Value Close() cannot be called while doing CreateHandle()

    Here, I would like to describe how to resolve the error: Value Close() cannot be called while doing CreateHandle() in the window application c#.
  • User Defined Exception in C#

    In this article you will learn about user defined exceptions in C#.
  • Getting Started With Exception Handling in C#

    This article explores exception handling mechanisms in C#, including an explanation of exceptions and why we need to catch exceptions.
  • OverflowException Check in C#.Net

    OverflowException check in C#.Net.
  • Exception Handling With C#

    This article explains how to properly handle existing exceptions using try, catch, finally and throw blocks and how to create your own custom exceptions.
  • Custom Exceptions using Microsoft Exception Management Application Block

    This article shows you how to use Microsoft Exception Management Application Block to write custom exceptions.
  • Logging Errors in a XML File

    Error handling and logging errors at a common place is something, which is required in every piece of code you write. The attached source code is an error logger class that I've used in all of my applications. This class writes errors to XML files.
  • Best Practices of Exception Management

    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.
  • Custom Error Handling in ASP.NET

    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.
  • ASP.NET and VB.NET Error Handling

    ASP.NET and VB.NET both are providing excellent error handling options when compared with ASP and VB6. In VB.NET we can make use of the structured way of error handling with the Try & Catch statement.
  • Exception Handling

    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.
  • Displaying Exception Information

    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.
  • Exceptions and Exception Stack

    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.
  • Customized Exception Handling Using Resource File

    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.
  • Exception and error handling in enterprise applications

    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.
  • View More