| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.io.IOException | ||||
| ↳ | com.tencent.smtt.export.external.interfaces.X5netException | ||||
| ↳ | com.tencent.smtt.export.external.interfaces.CallbackException | ||||
Exception passed to UrlRequest.Callback.onFailed() when
UrlRequest.Callback method throws an exception. In this
case java.io.IOException#getCause getCause() can be used to find the thrown
exception.
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
CallbackException(String message, Throwable cause)
Constructs an exception that wraps
cause thrown by a UrlRequest.Callback. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs an exception that wraps cause thrown by a UrlRequest.Callback.
| message | explanation of failure. |
|---|---|
| cause | exception thrown by UrlRequest.Callback that's being wrapped. It is
saved for later retrieval by the java.io.IOException#getCause getCause().
|