Class GrpcException


public class GrpcException extends RuntimeException
Thrown when a synchronous helper observes a non-OK gRPC status or a transport-level failure. The async callback path uses GrpcResponse instead -- this is only for code paths that prefer exceptions over inspecting responseCode.
  • Constructor Details

    • GrpcException

      public GrpcException(int status, int httpCode, String message)
  • Method Details

    • getStatus

      public int getStatus()
    • getHttpCode

      public int getHttpCode()