예제 #1
0
        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);
        }
예제 #2
0
 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);
 }