Reader Level:
Articles

Displaying Exception Information

By John Schofield on August 21, 2001
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.
  • 0
  • 0
  • 16917
Download Files:
 

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);
}

John Schofield

John is an consulant with 12+ years experience with C/C++ on OS/2 and Windows NT platforms. In the early 90s he developed GUI applications using IBM's Open Class libaries and MFC. The past six years have been spent multi... Read more

COMMENT USING

Trending up