Class DelegatingUncaughtExceptionHandler
- java.lang.Object
-
- io.streamthoughts.azkarra.api.streams.errors.DelegatingUncaughtExceptionHandler
-
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler
public class DelegatingUncaughtExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
This class can be used to delegateThread.UncaughtExceptionHandler
exception handling to an a givenStreamThreadExceptionHandler
implementation.- See Also:
StreamThreadExceptionHandler
-
-
Constructor Summary
Constructors Constructor Description DelegatingUncaughtExceptionHandler(KafkaStreamsContainer container, StreamThreadExceptionHandler handler)
-
-
-
Constructor Detail
-
DelegatingUncaughtExceptionHandler
public DelegatingUncaughtExceptionHandler(KafkaStreamsContainer container, StreamThreadExceptionHandler handler)
-
-
Method Detail
-
uncaughtException
public void uncaughtException(Thread t, Throwable e)
- Specified by:
uncaughtException
in interfaceThread.UncaughtExceptionHandler
-
-