public override void RaisePendingException(Exception pendingException)
        {
            var je = pendingException as JavaProxyThrowable;

            if (je == null)
            {
                je = new JavaProxyThrowable(pendingException);
            }
            var r = new JniObjectReference(je.Handle);

            JniEnvironment.Exceptions.Throw(r);
        }
 public override void RaisePendingException(Exception pendingException)
 {
     var je  = pendingException as JavaProxyThrowable;
     if (je == null) {
         je  = new JavaProxyThrowable (pendingException);
     }
     var r = new JniObjectReference (je.Handle);
     JniEnvironment.Exceptions.Throw (r);
 }