Class ErrorThrowingPipeErrorHandler<T>
- java.lang.Object
-
- de.quantummaid.eventmaid.internal.pipe.exceptions.ErrorThrowingPipeErrorHandler<T>
-
- All Implemented Interfaces:
PipeErrorHandler<T>
public class ErrorThrowingPipeErrorHandler<T> extends Object implements PipeErrorHandler<T>
-
-
Constructor Summary
Constructors Constructor Description ErrorThrowingPipeErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleException(T message, Exception e)booleanshouldErrorBeHandledAndDeliveryAborted(T message, Exception e)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.quantummaid.eventmaid.internal.pipe.exceptions.PipeErrorHandler
handleBubbledUpException
-
-
-
-
Method Detail
-
shouldErrorBeHandledAndDeliveryAborted
public boolean shouldErrorBeHandledAndDeliveryAborted(T message, Exception e)
- Specified by:
shouldErrorBeHandledAndDeliveryAbortedin interfacePipeErrorHandler<T>
-
handleException
public void handleException(T message, Exception e)
- Specified by:
handleExceptionin interfacePipeErrorHandler<T>
-
-