CronetException

public abstract class CronetException extends IOException

Known direct subclasses
CallbackException

Eccezione passata a UrlRequest.Callback.onFailed() quando il metodo UrlRequest.Callback o UploadDataProvider genera un'eccezione.

NetworkException

Eccezione passata a UrlRequest.Callback.onFailed() quando Cronet non riesce a elaborare una richiesta di rete.

Known indirect subclasses
QuicException

Sottoclasse di NetworkException che contiene un codice di errore QUIC dettagliato da QuicErrorCode.


Eccezione di base passata a UrlRequest.Callback.onFailed().

Riepilogo

Costruttori protetti

CronetException(String message, Throwable cause)

Costruisce un'eccezione causata da cause.

Metodi ereditati

Da java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] p)
String

Costruttori protetti

CronetException

protected CronetException(String message, Throwable cause)

Costruisce un'eccezione causata da cause.

Parametri
String message

Spiegazione dell'errore.

Throwable cause

La causa (che viene salvata per essere recuperata in un secondo momento dal metodo getCause()). È consentito un valore null, che indica che la causa non esiste o è sconosciuta.