|
Home
»
Exception Handling
|
|
|
|
|
|
Welcome to Exception Handling section of C# Corner. In this section, you will find various Exception Handling related source code samples, articles, tutorials, and tips.
|
|
|
|
|
|
|
|
|
Logging for .NET with SmartInspect
by
Dennis Gurock
on
Aug 30, 2008
This article demonstrates how to use SmartInspect logging for .NET. SmartInspect helps you to find and solve bugs in your software and makes it easier to identify security issues and performance bottlenecks.
|
Event and Error Logging
by
Scott Lysle
on
Dec 15, 2006
This article describes an approach to writing to a custom error log and to writing events into the system event log.
|
Customized Exception Handling Using Resource File
by
Jaish Mathews
on
Mar 03, 2006
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.
|
Exceptions and Exception Stack
by
Luke Venediger
on
Feb 08, 2006
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.
|
Exception Management
by
Sonu Chauhan
on
Feb 02, 2006
Correct exception handling in your Web pages prevents sensitive exception details from being revealed to the user. The following recommendations apply to ASP.NET Web pages and controls.
|
Exception Handling
by
Amisha Mehta
on
Dec 24, 2005
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.
|
ASP.NET and VB.NET Error Handling
by
Srinivasa Sivkumar
on
Dec 24, 2005
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 in C#
by
Kamran '
on
Dec 24, 2005
In C# Exception is a class in the system namespace. An object of an exception is that describe the exceptional conditions occur in a code That means, we are catching an exception, creating an object of it, and then throwing it. C# supports exceptions in a very much the same way as Java and C++.
|
Custom Error Handling in ASP.NET
by
Amit Kukreja
on
Dec 24, 2005
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.
|
Getting Started with Exception Handling in C#
by
Suprotim Agarwal
on
Dec 23, 2005
This article explores exception handling mechanisms in C#. It describes how C# provides built-in support for handling anomalous situations, known as exceptions, which may occur during the execution of your program. We will start out by understanding exceptions and will see why we need to catch different exceptions.
|
Logging Errors in a XML File
by
James Upton
on
Dec 23, 2005
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
by
Anand Kumar Rao
on
Dec 23, 2005
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.
|
|
|
|
|
|
|
|
|
How Do I Work with tracing?
by
Mahesh Chand
on
Feb 26, 2007
This sample illustrates the basics of using the Trace and Debug classes. Run it and take a look at the source code. You will see how easy it is to add simple tracing to your applications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Description
|
|
This book is an in-depth treatment of printing functionality available in .NET Framework with real-world ready to use sample code written in .NET 2.0. This book also answers some of the most commonly asked questions such as how to print text files, how to print forms and controls and much more.
|
|
Browse more books here»
|
|
|
|
|