[mono-android] Implementing 'UncaughtExceptionHandler'

Sayed Arian Kooshesh kooshesh at gmail.com
Tue Jun 26 01:47:36 UTC 2012


jon, correct my if I'm wrong but that(DefaultUncaughtExceptionHandler) only
catches java errors. for uncaught .net errors:

    AppDomain.CurrentDomain.UnhandledException += new
UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);

use lightly and make sure on different threads you reassign it. (afaik) it
only tacks exceptions for the current thread but i'm not sure on that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120625/479890db/attachment.html>


More information about the Monodroid mailing list