public final class GrpcStatusException
extends RuntimeException
GrpcStatus in exception form.| Modifier and Type | Method and Description |
|---|---|
Status |
applicationStatus()
Returns the status details if any was included or
null. |
static GrpcStatusException |
of(Status status)
Returns a new
GrpcStatusException for the given Status. |
GrpcStatus |
status()
Returns the wrapped
GrpcStatus. |
public GrpcStatus status()
GrpcStatus.GrpcStatus.@Nullable public Status applicationStatus()
null.Status.public static GrpcStatusException of(Status status)
GrpcStatusException for the given Status.status - the status