index.md 2.1 KB

net / com.drake.net.exception / NetException

NetException

open class NetException :IOException

Net网络异常

Parameters

request - 请求信息

message - 异常信息

Constructors

Name Summary
<init> Net网络异常NetException(request: Request, message:String? = "", cause:Throwable? = null)

Properties

Name Summary
request 请求信息val request: Request

Functions

Name Summary
getLocalizedMessage open fun getLocalizedMessage():String?

Inheritors

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