Modifier and Type | Method and Description |
---|---|
StatusRuntimeException |
Status.asRuntimeException()
Convert this
Status to a RuntimeException . |
StatusRuntimeException |
Status.asRuntimeException(Metadata trailers)
Same as
Status.asRuntimeException() but includes the provided trailers in the returned
exception. |