ARTICLE

Displaying Exception Information

Posted by John Schofield Articles | Exception Handling C# 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.
Reader Level:
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);
}

Login to add your contents and source code to this article
post comment
     

Hi,

I was just wondering if there was a later version avaliable that didn't keep opening new windows and instead just kept a single window open and kept adding events to it???

Also that allowed execution of code to continue without closing the window???

Regards,

Chris

Posted by Chris Feb 05, 2006
COMMENT USING
PREMIUM SPONSORS
Over-C is a holistic consortium of communications and technology specialists. We build, deploy and market both business as well as consumer products and solutions.
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Join a Chapter