# NoCacheException

class NoCacheException(request: Request, message: String?, cause: Throwable?) : NetException
Content copied to clipboard

读取缓存失败 仅当设置强制缓存模式com.drake.net.cache.CacheMode.READ和com.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)
Content copied to clipboard
请求信息

## Functions

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