Status in RuntimeException form, for propagating Status information via exceptions.
StatusException
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private static final long | |
| private final Status | |
| private final Metadata |
| Access | Constructor and Description |
|---|---|
| public | |
| public | StatusRuntimeException(Status status, Metadata trailers)
Constructs the exception with both a status and trailers. |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized Throwable | fillInStackTrace()
Overrides java. |
| public final Status | |
| public final Metadata |
| fillInStackTrace | back to summary |
|---|---|
| private final boolean fillInStackTrace | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| status | back to summary |
|---|---|
| private final Status status | |
| trailers | back to summary |
|---|---|
| private final Metadata trailers | |
| StatusRuntimeException | back to summary |
|---|---|
| public StatusRuntimeException(Status status) Constructs the exception with both a status. See also
| |
| StatusRuntimeException | back to summary |
|---|---|
| public StatusRuntimeException(Status status, Metadata trailers) Constructs the exception with both a status and trailers. See also
| |
| StatusRuntimeException | back to summary |
|---|---|
| pack-priv StatusRuntimeException(Status status, Metadata trailers, boolean fillInStackTrace) | |
| fillInStackTrace | back to summary |
|---|---|
| public synchronized Throwable fillInStackTrace() Overrides java. Doc from java. Fills in the execution stack trace. This method records within this
If the stack trace of this | |
| getStatus | back to summary |
|---|---|
| public final Status getStatus() Returns the status code as a
| |
| getTrailers | back to summary |
|---|---|
| public final Metadata getTrailers() Returns the received trailers.
| |