public abstract class

CronetException

extends IOException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ org.chromium.net.CronetException
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

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

Summary

Protected Constructors
CronetException(String message, Throwable cause)
Constructs an exception that is caused by cause.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Protected Constructors

protected CronetException (String message, Throwable cause)

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.