Package io.deephaven.util.process
Class DefaultFatalErrorReporter
java.lang.Object
io.deephaven.util.process.FatalErrorReporterBase
io.deephaven.util.process.DefaultFatalErrorReporter
- All Implemented Interfaces:
FatalErrorReporter
,Thread.UncaughtExceptionHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.util.process.FatalErrorReporter
FatalErrorReporter.Interceptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
reportImpl
(@NotNull String message, @NotNull Throwable throwable, boolean isUncaughtException) Report a fatal error in an implementation specific way.Methods inherited from class io.deephaven.util.process.FatalErrorReporterBase
addInterceptor, report, report, reportAsync, reportAsync, uncaughtException
-
Constructor Details
-
DefaultFatalErrorReporter
public DefaultFatalErrorReporter()
-
-
Method Details
-
reportImpl
protected void reportImpl(@NotNull @NotNull String message, @NotNull @NotNull Throwable throwable, boolean isUncaughtException) Description copied from class:FatalErrorReporterBase
Report a fatal error in an implementation specific way. Implementations should invoke appropriate shutdown tasks and initiate process shutdown (e.g. viaSystem.exit(int)
).- Specified by:
reportImpl
in classFatalErrorReporterBase
- Parameters:
message
- the messagethrowable
- the throwableisUncaughtException
- true iff called fromThread.UncaughtExceptionHandler.uncaughtException(Thread, Throwable)
.
-