Interface Thread.UncaughtExceptionHandler

Enclosing class:
Thread

public static interface Thread.UncaughtExceptionHandler
Handles what a thread's run method throws.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called with the thread and what its run method threw.
  • Method Details

    • uncaughtException

      void uncaughtException(Thread t, Throwable e)
      Called with the thread and what its run method threw.