Esempio n. 1
0
 private static global::net.sf.jni4net.utils.JniHandle ToString10(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj)
 {
     // ()Ljava/lang/String;
     // ()LSystem/String;
     global::net.sf.jni4net.jni.JNIEnv      @__env    = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     global::net.sf.jni4net.utils.JniHandle @__return = default(global::net.sf.jni4net.utils.JniHandle);
     try {
         global::System.Exception @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::System.Exception>(@__env, @__obj);
         @__return = global::net.sf.jni4net.utils.Convertor.StrongC2JString(@__env, @__real.ToString());
     }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
     return(@__return);
 }
Esempio n. 2
0
 public static void Set(global::System.Exception e)
 {
     if (pendingException != null)
     {
         throw new global::System.ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e);
     }
     pendingException = e;
     lock (typeof(HidProtocolPINVOKE)) {
         numExceptionsPending++;
     }
 }
 public static void Set(global::System.Exception e)
 {
     if (pendingException != null)
     {
         throw new global::System.ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e);
     }
     pendingException = e;
     lock (typeof(FiftyOne.Mobile.Detection.Provider.Interop.PatternPINVOKE)) {
         numExceptionsPending++;
     }
 }