Convert this Status to an Exception. Use #fromThrowable to recover this Status instance when the returned exception is in the causal chain.
()
| 537 | * to recover this {@link Status} instance when the returned exception is in the causal chain. |
| 538 | */ |
| 539 | public StatusException asException() { |
| 540 | return new StatusException(this); |
| 541 | } |
| 542 | |
| 543 | /** |
| 544 | * Same as {@link #asException()} but includes the provided trailers in the returned exception. |
no outgoing calls