Handling exceptions of third party modules


  • Hello,

    could you please help with handling exceptions in a right way from third party modules such as Smaato Advertising, how and where I can handle these exceptions to prevent app crash? One developer said his app sometimes crashes because of Smaato's module and he decided to delete it.

    Tuesday, March 24, 2015 10:18 AM


All replies

  • Try to handle the exception in the Application.UnhandledException event.
    Ugly but should work.

    • Edited by Burnout Crew Tuesday, March 24, 2015 12:39 PM
    • Marked as answer by Andev Tuesday, March 24, 2015 2:48 PM
    Tuesday, March 24, 2015 12:38 PM
  • But please keep in mind, a exception is usually not reaised without a reason.
    So please don't catch all exceptions inside the unhandledexeption event.
    But i know the problems using those ugly advertising sdk's ;)

    Wednesday, March 25, 2015 8:51 AM