1.

Explain Exception Handling In Jni?

Answer»

JNI exceptions are handled by using the following:

  • Throw( ): Throws an existing EXCEPTION object. Used in native methods to rethrow an exception.
  • ThrowNew( ): CREATES a new exception object and throws.
  • ExceptionOccurred( ): Determines the exception status of throws and not yet cleared.
  • ExceptionDescribe( ): Displays the exception and stack TRACE
  • ExceptionClear( ): A pending exception is cleared.
  • FatalError( ): CAUSES a fatal error to raise and does not return.

JNI exceptions are handled by using the following:



Discussion

No Comment Found