Class ExceptionHandler<ReqT,RespT>

java.lang.Object
io.grpc.ServerCall.Listener<ReqT>
io.grpc.ForwardingServerCallListener<ReqT>
io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener<ReqT>
io.quarkus.grpc.ExceptionHandler<ReqT,RespT>

public abstract class ExceptionHandler<ReqT,RespT> extends io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener<ReqT>
Generic exception handler
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.grpc.ForwardingServerCallListener

    io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener<ReqT extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExceptionHandler(io.grpc.ServerCall.Listener<ReqT> listener, io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata metadata)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract void
    handleException(Throwable t, io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata metadata)
     
    void
     
    void
     
    void
     
    void
    onMessage(ReqT message)
     
    void
     
     

    Methods inherited from class io.grpc.ForwardingServerCallListener.SimpleForwardingServerCallListener

    delegate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ExceptionHandler

      public ExceptionHandler(io.grpc.ServerCall.Listener<ReqT> listener, io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata metadata)
  • Method Details

    • handleException

      protected abstract void handleException(Throwable t, io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata metadata)
    • onMessage

      public void onMessage(ReqT message)
      Overrides:
      onMessage in class io.grpc.ForwardingServerCallListener<ReqT>
    • onHalfClose

      public void onHalfClose()
    • onReady

      public void onReady()
    • onCancel

      public void onCancel()
      Overrides:
      onCancel in class io.grpc.ServerCall.Listener<ReqT extends Object>
    • onComplete

      public void onComplete()
      Overrides:
      onComplete in class io.grpc.ServerCall.Listener<ReqT extends Object>
    • toString

      public String toString()
      Overrides:
      toString in class Object