public class GrpcFailedContextAdapter extends Object implements GrpcFailedContext
| Modifier and Type | Field and Description |
|---|---|
protected Throwable |
cause |
protected int |
statusCode |
protected boolean |
userCancelled |
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcFailedContextAdapter(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause() |
int |
getStatusCode() |
static GrpcFailedContextAdapter |
of(Throwable cause) |
boolean |
userCancelled() |
protected final boolean userCancelled
protected final int statusCode
protected final Throwable cause
protected GrpcFailedContextAdapter(Throwable cause)
public static GrpcFailedContextAdapter of(Throwable cause)
public boolean userCancelled()
userCancelled in interface GrpcFailedContextpublic int getStatusCode()
getStatusCode in interface GrpcFailedContextpublic Throwable getCause()
getCause in interface GrpcFailedContextCopyright © 2025 Webull. All rights reserved.