Class ErrorReportingInterceptor
java.lang.Object
io.fluxcapacitor.javaclient.tracking.handling.errorreporting.ErrorReportingInterceptor
- All Implemented Interfaces:
HandlerInterceptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.fluxcapacitor.javaclient.tracking.handling.HandlerInterceptor
HandlerInterceptor.InterceptedHandler, HandlerInterceptor.MergedInterceptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninterceptHandling(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, waitMethods inherited from interface io.fluxcapacitor.javaclient.tracking.handling.HandlerInterceptor
andThen, wrap
-
Constructor Details
-
ErrorReportingInterceptor
public ErrorReportingInterceptor()
-
-
Method Details
-
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)
-