Summary:
Protected Ctors
| Inherited Methods
CallbackException
public
abstract
class
CallbackException
extends HttpException
java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.io.IOException | ||||
↳ | android.net.http.HttpException | ||||
↳ | android.net.http.CallbackException |
Exception passed to UrlRequest.Callback.onFailed()
when
UrlRequest.Callback
or UploadDataProvider
method throws an exception. In this
case getCause()
can be used to find the thrown exception.
Summary
Protected constructors | |
---|---|
CallbackException(String message, Throwable cause)
Constructs an exception that wraps |
Inherited methods | |
---|---|
Protected constructors
CallbackException
protected CallbackException (String message, Throwable cause)
Constructs an exception that wraps cause
thrown by a UrlRequest.Callback
.
Parameters | |
---|---|
message |
String : explanation of failure.
This value may be null . |
cause |
Throwable : exception thrown by UrlRequest.Callback that's being wrapped. It is
saved
for later retrieval by the getCause() .
This value may be null . |