예제 #1
0
 private void HandleUnobservedTaskException(object sender, UnobservedTaskExceptionEventArgs e)
 {
     if (!client.AutoNotify)
     {
         return;
     }
     client.Notify(e.Exception, ErrorSeverity.Warning);
 }
예제 #2
0
 public void UncaughtException(Java.Lang.Thread thread, Java.Lang.Throwable ex)
 {
     if (client.AutoNotify)
     {
         client.Notify(ex, ErrorSeverity.Fatal);
     }
     if (nextHandler != null)
     {
         nextHandler.UncaughtException(thread, ex);
     }
 }