SIGN UP MEMBER LOGIN:    
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.

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
share 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
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor
PREMIUM SPONSORS
  • The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
    Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites - Click Here!
Become a Sponsor