Usage for handled exceptions

Thread is closed for posting
4 posts, 0 answers
  1. Spencer
    Spencer avatar
    10 posts
    Member since:
    Feb 2011

    Posted 25 Feb 2012 Link to this post

    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.
  2. Valentin.Stoychev
    Valentin.Stoychev avatar
    2198 posts

    Posted 27 Feb 2012 Link to this post

    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 >>
  3. Vitalii
    Vitalii avatar
    104 posts
    Member since:
    Jul 2013

    Posted 23 Sep 2013 Link to this post

    Hi, Valentin

    Any news on this field?
    I'd like to be able to force sending diagnostic info in some expected cases.
  4. Todor
    Todor avatar
    798 posts

    Posted 26 Sep 2013 Link to this post

    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:

        // 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.
    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 >>
Back to Top