Interface SessionState.ExportErrorGrpcHandler

Enclosing class:
SessionState
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface SessionState.ExportErrorGrpcHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onError(io.grpc.StatusRuntimeException notification)
    This error handler receives a grpc friendly StatusRuntimeException that can be directly sent to StreamObserver.onError(java.lang.Throwable).
  • Method Details

    • onError

      void onError(io.grpc.StatusRuntimeException notification)
      This error handler receives a grpc friendly StatusRuntimeException that can be directly sent to StreamObserver.onError(java.lang.Throwable).
      Parameters:
      notification - the notification to forward to the grpc client