NoCacheException

class NoCacheException(request: Request, message: String?, cause: Throwable?) : NetException

读取缓存失败 仅当设置强制缓存模式com.drake.net.cache.CacheMode.READcom.drake.net.cache.CacheMode.REQUEST_THEN_READ才会发生此异常

Parameters

request

请求信息

message

错误描述信息

cause

错误原因

Constructors

NoCacheException
Link copied to clipboard
fun NoCacheException(request: Request, message: String? = null, cause: Throwable? = null)
请求信息

Functions

getLocalizedMessage
Link copied to clipboard
open override fun getLocalizedMessage(): String