Interface ExceptionHandler.UncaughtExceptionHandler

Enclosing class:
ExceptionHandler
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ExceptionHandler.UncaughtExceptionHandler
Interface for handlers invoked when a runtime exception is thrown from a Java callback called from native code.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    uncaughtException(Throwable throwable, String source)
    Method invoked for runtime exceptions thrown from Java callbacks.
  • Method Details

    • uncaughtException

      void uncaughtException(Throwable throwable, String source)
      Method invoked for runtime exceptions thrown from Java callbacks. Any exceptions thrown by this handler will be ignored.
      Parameters:
      throwable - the exception
      source - the name of the callback where the exception occurred