Class ErrorThrowingPipeErrorHandler<T>
- java.lang.Object
-
- de.quantummaid.eventmaid.internal.pipe.error.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)
-
-
-
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>
-
-