## Uses of Interface
java.lang.Thread.UncaughtExceptionHandler

- Packages that use Thread.UncaughtExceptionHandler
  Package | Description
  --- | ---
  java.lang |

- - ### Uses of Thread.UncaughtExceptionHandler in java.lang

    Methods in java.lang that return Thread.UncaughtExceptionHandler
    Modifier and Type | Method and Description
    --- | ---
    `static Thread.UncaughtExceptionHandler` | Thread.`getDefaultUncaughtExceptionHandler()` Returns the default handler invoked when a thread abruptly terminates due to an uncaught exception.
    `Thread.UncaughtExceptionHandler` | Thread.`getUncaughtExceptionHandler()` Returns the handler invoked when this thread abruptly terminates due to an uncaught exception.

    Methods in java.lang with parameters of type Thread.UncaughtExceptionHandler
    Modifier and Type | Method and Description
    --- | ---
    `static void` | Thread.`setDefaultUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)` Set the default handler invoked when a thread abruptly terminates due to an uncaught exception, and no other handler has been defined for that thread.
    `void` | Thread.`setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler eh)` Set the handler invoked when this thread abruptly terminates due to an uncaught exception.

Copyright © 2025 API Design. All Rights Reserved.