public abstract class

CallbackException

extends X5netException
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

Class Overview

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.

Summary

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

Protected Constructors

protected CallbackException (String message, Throwable cause)

Constructs an exception that wraps cause thrown by a UrlRequest.Callback.

Parameters
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().