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. Image for the cookie policy date

Exception Throwing Incorrect

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

2 Replies

J. J.Nagarajan Syncfusion Team 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


SA Saravanan A Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon