We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Exception Throwing Incorrect

Thread ID:

Created:

Updated:

Platform:

Replies:

69417 Oct 26,2007 01:48 PM UTC Nov 2,2007 09:17 AM UTC Windows Forms 2
loading
Tags: GridControl
lcd
Asked On October 26, 2007 01:48 PM UTC

Hi,

The GridModel.OnSaveCellInfo has a flaw that causes exception information to be lost:

catch (Exception exception)
{
TraceUtil.TraceExceptionCatched(exception);
throw exception;
}

This causes the original stack trace for the exception to be lost and replaced with a new one, starting at the line 'throw exception;'. This can be fixed by either;

1. Using 'throw;' instead of 'throw exception;'
2. Using 'throw new XxxException(message, exception);' to wrap the underlying exception in an outer exception

Not sure how many other places in the code base have this same problem, but it cost us a bit of time.

Thanks,
Kent

J.Nagarajan [Syncfusion]
Replied On October 27, 2007 12:47 AM UTC

Hi Kent ,

Thanks for the update.

We will forward your feedback to our development team and we will try to change it in our source code.

Please let me know if you have any questions.

Regards,
Nagaraj

Saravanan A [Syncfusion]
Replied On November 2, 2007 09:17 AM UTC

Hi Kent,

We are glad to inform you that we have recently fixed this in our source code. It will be available from our next release.

Please let me know if you need any further assistance.

Regards,
Saravanan

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;