CronetException

abstract class CronetException : IOException

kotlin.Any
   ↳ kotlin.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ org.chromium.net.CronetException
Known direct subclasses
CallbackException

Exception passed to UrlRequest.Callback.onFailed() when UrlRequest.Callback or UploadDataProvider method throws an exception.

NetworkException

Exception passed to UrlRequest.Callback.onFailed() when Cronet fails to process a network request.

Known indirect subclasses
QuicException

Subclass of NetworkException which contains a detailed QUIC error code from QuicErrorCode.


Base exception passed to UrlRequest.Callback.onFailed().

Summary

Protected constructors

CronetException(message: String!, cause: Throwable!)

Constructs an exception that is caused by cause.

Protected constructors

CronetException

protected CronetException(message: String!, cause: Throwable!)

Constructs an exception that is caused by cause.

Parameters
message: String!

explanation of failure.

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.