public class ThrowableCatchingRunnable extends Object implements Runnable
Throwables
from the wrapped runnable. This class is
useful when the wrapped runnable is submitted to an executor where the UncaughtExceptionHandler
is not usable.Constructor and Description |
---|
ThrowableCatchingRunnable(Consumer<Throwable> exceptionHandler,
Runnable runnable) |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.