Class ErrorReportingInterceptor
- java.lang.Object
-
- io.fluxcapacitor.javaclient.tracking.handling.errorreporting.ErrorReportingInterceptor
-
- All Implemented Interfaces:
HandlerInterceptor
public class ErrorReportingInterceptor extends Object implements HandlerInterceptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.fluxcapacitor.javaclient.tracking.handling.HandlerInterceptor
HandlerInterceptor.InterceptedHandler, HandlerInterceptor.MergedInterceptor
-
-
Constructor Summary
Constructors Constructor Description ErrorReportingInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function<DeserializingMessage,Object>interceptHandling(Function<DeserializingMessage,Object> function, Handler<DeserializingMessage> handler, String consumer)protected voidreportError(Throwable e, Handler<DeserializingMessage> handler, DeserializingMessage cause)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fluxcapacitor.javaclient.tracking.handling.HandlerInterceptor
merge, wrap
-
-
-
-
Method Detail
-
interceptHandling
public Function<DeserializingMessage,Object> interceptHandling(Function<DeserializingMessage,Object> function, Handler<DeserializingMessage> handler, String consumer)
- Specified by:
interceptHandlingin interfaceHandlerInterceptor
-
reportError
protected void reportError(Throwable e, Handler<DeserializingMessage> handler, DeserializingMessage cause)
-
-