public class CommunicationException extends StatusException
Constructor and Description |
---|
CommunicationException(java.lang.String message,
io.grpc.Status status)
Exception indicating an error occurred when communicating
with server.
|
CommunicationException(java.lang.String message,
io.grpc.Status status,
java.lang.Throwable cause)
Exception indicating an error occurred when communicating
with server.
|
getStatus
public CommunicationException(java.lang.String message, io.grpc.Status status)
message
- detail message of the exception.status
- The underlying GRPC status code, might be null.public CommunicationException(java.lang.String message, io.grpc.Status status, java.lang.Throwable cause)
message
- detail message of the exception.status
- The underlying GRPC status code, might be null.cause
- the underlying exception.