This is a migrated thread and some comments may be shown as answers.

Usage for handled exceptions

3 Answers 68 Views
Diagnostics
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Spencer
Top achievements
Rank 1
Spencer asked on 25 Feb 2012, 04:17 PM
Is it possible to use this component for handled exceptions?  So for instance lets say you have a try/catch handler on something that should never fail, but for some reason it eventually does.  My code traps it and displays a toast message, but it would be even better if i could also specify to popup that dialog and inject the exception into it.  Even though i trap the error it would be nice to be able to get diagnostic info so i can correct it.

3 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 27 Feb 2012, 12:26 PM
Hello Spencer,

We do not support this scenario, but we will enabled it for the next release. If you need the binaries earlier - please send a support ticket and we will give you early bits so you can use them prior to the official build.

Greetings, Valentin.Stoychev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Vitalii
Top achievements
Rank 2
answered on 23 Sep 2013, 12:12 PM
Hi, Valentin

Any news on this field?
I'd like to be able to force sending diagnostic info in some expected cases.
0
Todor
Telerik team
answered on 26 Sep 2013, 06:59 AM
Hello Vitalii,

Thank you for writing.

You can use RadDiagnostics' ReportHandledException method to send reports for exceptions that are manually handled in a way similar to this:

try
{
    // Here your expected exception occurs.
}
catch (Exception e)
{
    (App.Current as App).Diagnostics.ReportHandledException(e);
}

Don't hesitate to write back if you need more help.
 
Regards,
Todor
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Diagnostics
Asked by
Spencer
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Vitalii
Top achievements
Rank 2
Todor
Telerik team
Share this question
or