Example #1
0
 private static void LogUnobservedUnawaitedException(System.Exception exception)
 {
     if ((HandleUnobservedException != null &&
          HandleUnobservedException(exception)) ||
         HandleUnobservedException == null)
     {
         System.Diagnostics.Debug.WriteLine("LogUnobservedUnawaitedExceptionAsync invoked");
         Mint.XamarinException(exception.ToJavaException(), false, null);
         OnUnhandledExceptionHandled(exception, "System.Exception");
     }
 }
Example #2
0
 public void UncaughtException(Java.Lang.Thread thread, Throwable ex)
 {
     Mint.XamarinException(ex.ToJavaException(), false, null);
     LastBreath();
     UncaughtExceptionHandled(null, ex);
 }
Example #3
0
 static void CurrentDomainUnhandledHandler(object sender, UnhandledExceptionEventArgs e)
 {
     Mint.XamarinException((e.ExceptionObject as System.Exception).ToJavaException(), false, null);
     LastBreath();
     OnUnhandledExceptionHandled(e.ExceptionObject, "System.Exception");
 }
Example #4
0
 static void HandleUnhandledExceptionRaiser(object sender, RaiseThrowableEventArgs e)
 {
     Mint.XamarinException(e.Exception.ToJavaException(), false, null);
     LastBreath();
     OnUnhandledExceptionHandled(e.Exception, "System.Exception");
 }