Class GrpcException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.codename1.io.grpc.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.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
GrpcException
-
-
Method Details
-
getStatus
public int getStatus() -
getHttpCode
public int getHttpCode()
-