Uses of Class
io.grpc.StatusRuntimeException
Packages that use StatusRuntimeException
Package
Description
The gRPC core public API.
API for gRPC over Protocol Buffers, including tools for serializing and de-serializing protobuf
messages.
-
Uses of StatusRuntimeException in io.grpc
Methods in io.grpc that return StatusRuntimeExceptionModifier and TypeMethodDescriptionstatic final StatusRuntimeException
InternalStatus.asRuntimeException
(Status status, Metadata trailers, boolean fillInStackTrace) Create a newStatusRuntimeException
with the internal option of skipping the filling of the stack trace.Status.asRuntimeException()
Convert thisStatus
to aRuntimeException
.Status.asRuntimeException
(Metadata trailers) Same asStatus.asRuntimeException()
but includes the provided trailers in the returned exception. -
Uses of StatusRuntimeException in io.grpc.protobuf
Methods in io.grpc.protobuf that return StatusRuntimeExceptionModifier and TypeMethodDescriptionstatic StatusRuntimeException
StatusProto.toStatusRuntimeException
(com.google.rpc.Status statusProto) Convert aStatus
instance to aStatusRuntimeException
.static StatusRuntimeException
StatusProto.toStatusRuntimeException
(com.google.rpc.Status statusProto, Metadata metadata) Convert aStatus
instance to aStatusRuntimeException
with additional metadata.