Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public class GrpcException
- Object
- Throwable
- Exception
- RuntimeException
- GrpcException
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.Constructors
public GrpcException(int status, int httpCode, String message) |
Methods
public int getStatus() | |
public int getHttpCode() |
Inherited methods
Constructor details
GrpcException
public GrpcException(int status, int httpCode, String message)Method details
getStatus
public int getStatus()getHttpCode
public int getHttpCode()