public class RequestResult<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
code |
T |
data |
java.lang.Throwable |
exception |
Constructor and Description |
---|
RequestResult(int errorCode) |
RequestResult(int code,
T data,
java.lang.Throwable exception) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |