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.
Inherited methods
initCause, getCause, getMessage, printStackTrace, printStackTrace, toString, addSuppressed, getStackTrace, setStackTrace, getSuppressed, getLocalizedMessage
Constructor details
GrpcException
public GrpcException(int status, int httpCode, String message)Method details
getStatus
public int getStatus()getHttpCode
public int getHttpCode()