HttpException
open class HttpException : IOException
kotlin.Any | ||||
↳ | kotlin.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.io.IOException | |||
↳ | android.net.http.HttpException |
Base exception passed to UrlRequest.Callback.onFailed()
.
Summary
Public constructors | |
---|---|
HttpException(message: String?, cause: Throwable?) Constructs an exception that is caused by |
Public constructors
HttpException
HttpException(
message: String?,
cause: Throwable?)
Constructs an exception that is caused by cause
.
Parameters | |
---|---|
message |
String?: explanation of failure. This value may be null . |
cause |
Throwable?: the cause (which is saved for later retrieval by the getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown. |