CallbackException

public abstract class CallbackException extends CronetException


Eccezione passata a UrlRequest.Callback.onFailed() quando il metodo UrlRequest.Callback o UploadDataProvider genera un'eccezione. In questo caso, puoi utilizzare getCause() per trovare l'eccezione generata.

Riepilogo

Costruttori protetti

Costruisce un'eccezione che aggrega cause generata da un UrlRequest.Callback.

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

CallbackException

protected CallbackException(String message, Throwable cause)

Costruisce un'eccezione che aggrega cause generata da un UrlRequest.Callback.

Parametri
String message

Spiegazione dell'errore.

Throwable cause

Eccezione generata da UrlRequest.Callback che viene aggregata. Viene salvata per essere recuperata in un secondo momento da getCause().