Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

CronetException

public abstract class CronetException extends IOException
Known Direct Subclasses
Known Indirect Subclasses

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

Protected Constructor Summary

CronetException(String message, Throwable cause)
Constructs an exception that is caused by cause.

Inherited Method Summary

Protected Constructors

protected CronetException (String message, Throwable cause)

Constructs an exception that is caused by cause.

Parameters
message explanation of failure.
cause 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.