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