public class YfyException extends Exception
InvalidTokenException and possibly for refresh and retry. The rest you
should probably just log and investigate manually.| Constructor and Description |
|---|
YfyException(String message) |
YfyException(String requestId,
String message) |
YfyException(String requestId,
String message,
Throwable cause) |
YfyException(String message,
Throwable cause) |
YfyException(YfyErrorResponse errorResponse) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRequestId()
Return the unique ID associated with the request that triggered this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic YfyException(YfyErrorResponse errorResponse)
public YfyException(String message)
public String getRequestId()
The ID may be null if we could not receive a response from the Fangcloud servers
(e.g. from a NetworkIOException).
Please use this ID when filing bug reports.
null if
one is not available.Copyright © 2017 YiFangYun. All rights reserved.