Displaying Exception Information

Introduction:

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.

ExceptionInfoJS.gif

Source Code:

TestException.cs

static
int Main(string[] args)
{
try
{
TestException test =
null;
test.TryIt();
}
catch( Exception exc)
{
ExceptionInfoDisplay.DisplayInfo( exc);
}
return( 0);
}


Similar Articles