net / com.drake.net.exception / NetException
open class NetException :
IOException
Net网络异常
request
- 请求信息
message
- 异常信息
Name | Summary |
---|---|
<init> | Net网络异常NetException(request: Request, message: String ? = "", cause: Throwable ? = null) |
Name | Summary |
---|---|
request | 请求信息val request: Request |
Name | Summary |
---|---|
getLocalizedMessage | open fun getLocalizedMessage(): String ? |
Name | Summary |
---|---|
ConvertException | 转换数据异常class ConvertException : NetException |
DownloadFileException | 下载文件异常class DownloadFileException : NetException |
NetSocketTimeoutException | class NetSocketTimeoutException : NetException |
NetworkingException | class NetworkingException : NetException |
NoCacheException | class NoCacheException : NetException |
RequestParamsException | 404class RequestParamsException : NetException |
ResponseException | 对应网络请求后台定义的错误信息class ResponseException : NetException |
ServerResponseException | 500class ServerResponseException : NetException |