Class JNIExceptionWrapper.ExceptionHandlerContext

java.lang.Object
org.graalvm.jniutils.JNIExceptionWrapper.ExceptionHandlerContext
Enclosing class:
JNIExceptionWrapper

public static final class JNIExceptionWrapper.ExceptionHandlerContext extends Object
  • Method Details

    • getEnv

      public JNI.JNIEnv getEnv()
      Returns current thread JNIEnv.
    • getThrowable

      public JNI.JThrowable getThrowable()
      Returns pending JNI exception.
    • getThrowableClassName

      public String getThrowableClassName()
      Returns pending JNI exception class name.
    • throwJNIExceptionWrapper

      public void throwJNIExceptionWrapper()
      Throws JNIExceptionWrapper for the pending JNI exception.