Exemplo n.º 1
0
        public void Throw(Throwable throwable)
        {
            Debug.Assert(throwable != null);

            var result = _throw(_jniEnvWrapper.JniEnvPtr, throwable.ProxyState.NativePtr);
            if (result != 0)
                throw new JvmException($"Unexpected error while throwing exception. Error code: '{result}'.");
        }
 public InvalidPropertiesFormatException(Throwable arg0)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/Throwable;)V", arg0);
 }
Exemplo n.º 3
0
 public void uncaughtException(Thread arg0, Throwable arg1)
 {
     Instance.CallMethod("uncaughtException", "(Ljava/lang/Thread;Ljava/lang/Throwable;)V", arg0, arg1);
 }
Exemplo n.º 4
0
 public void throwing(String arg0, String arg1, Throwable arg2)
 {
     Instance.CallMethod("throwing", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V", arg0, arg1, arg2);
 }
Exemplo n.º 5
0
 public void logrb(Level arg0, String arg1, String arg2, ResourceBundle arg3, String arg4, Throwable arg5)
 {
     Instance.CallMethod("logrb", "(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/util/ResourceBundle;Ljava/lang/String;Ljava/lang/Throwable;)V", arg0, arg1, arg2, arg3, arg4, arg5);
 }
Exemplo n.º 6
0
 public void logp(Level arg0, String arg1, String arg2, String arg3, Throwable arg4)
 {
     Instance.CallMethod("logp", "(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V", arg0, arg1, arg2, arg3, arg4);
 }
Exemplo n.º 7
0
 public void logp(Level arg0, String arg1, String arg2, Throwable arg3, Supplier<String> arg4)
 {
     Instance.CallMethod("logp", "(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/function/Supplier;)V", arg0, arg1, arg2, arg3, arg4);
 }
 public ServiceConfigurationError(String arg0, Throwable arg1)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/String;Ljava/lang/Throwable;)V", arg0, arg1);
 }
Exemplo n.º 9
0
 public CompletionException(String arg0, Throwable arg1)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/String;Ljava/lang/Throwable;)V", arg0, arg1);
 }
Exemplo n.º 10
0
 public CompletionException(Throwable arg0)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/Throwable;)V", arg0);
 }
Exemplo n.º 11
0
 public void setThrown(Throwable arg0)
 {
     Instance.CallMethod("setThrown", "(Ljava/lang/Throwable;)V", arg0);
 }
Exemplo n.º 12
0
 public Throwable initCause(Throwable arg0)
 {
     return Instance.CallMethod<Throwable>("initCause", "(Ljava/lang/Throwable;)Ljava/lang/Throwable;", arg0);
 }
Exemplo n.º 13
0
 public void addSuppressed(Throwable arg0)
 {
     Instance.CallMethod("addSuppressed", "(Ljava/lang/Throwable;)V", arg0);
 }
Exemplo n.º 14
0
 public Throwable(String arg0, Throwable arg1)
 {
     Instance.CallConstructor("(Ljava/lang/String;Ljava/lang/Throwable;)V", arg0, arg1);
 }
Exemplo n.º 15
0
 public Throwable(Throwable arg0)
 {
     Instance.CallConstructor("(Ljava/lang/Throwable;)V", arg0);
 }
 public InvalidPreferencesFormatException(String arg0, Throwable arg1)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/String;Ljava/lang/Throwable;)V", arg0, arg1);
 }
Exemplo n.º 17
0
 public void log(Level arg0, Throwable arg1, Supplier<String> arg2)
 {
     Instance.CallMethod("log", "(Ljava/util/logging/Level;Ljava/lang/Throwable;Ljava/util/function/Supplier;)V", arg0, arg1, arg2);
 }
Exemplo n.º 18
0
 public IOError(Throwable arg0)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/Throwable;)V", arg0);
 }