public final class FatalExitExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
This guarantees that critical exceptions are not accidentally lost and leave the system running in an inconsistent state.
Modifier and Type | Field and Description |
---|---|
static int |
EXIT_CODE |
static FatalExitExceptionHandler |
INSTANCE |
Constructor and Description |
---|
FatalExitExceptionHandler() |
public static final FatalExitExceptionHandler INSTANCE
public static final int EXIT_CODE
public void uncaughtException(Thread t, Throwable e)
uncaughtException
in interface Thread.UncaughtExceptionHandler
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.