Package com.viam.sdk.core.module
Class BaseModule.ExceptionInterceptor
java.lang.Object
com.viam.sdk.core.module.BaseModule.ExceptionInterceptor
- All Implemented Interfaces:
io.grpc.ServerInterceptor
- Enclosing class:
- BaseModule
public static class BaseModule.ExceptionInterceptor
extends Object
implements io.grpc.ServerInterceptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<ReqT,
RespT>
io.grpc.ServerCall.Listener<ReqT>interceptCall
(io.grpc.ServerCall<ReqT, RespT> serverCall, io.grpc.Metadata metadata, io.grpc.ServerCallHandler<ReqT, RespT> serverCallHandler)
-
Constructor Details
-
ExceptionInterceptor
public ExceptionInterceptor()
-
-
Method Details
-
interceptCall
public <ReqT,RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall(io.grpc.ServerCall<ReqT, RespT> serverCall, io.grpc.Metadata metadata, io.grpc.ServerCallHandler<ReqT, RespT> serverCallHandler) - Specified by:
interceptCall
in interfaceio.grpc.ServerInterceptor
-