CronetException

public abstract class CronetException extends IOException
Known Direct Subclasses
Known Indirect Subclasses

Base exception passed to UrlRequest.Callback.onFailed().

CronetException(String message, Throwable cause)
Constructs an exception that is caused by cause.

Inherited Method Summary

synchronized final void
addSuppressed(Throwable arg0)
synchronized Throwable
fillInStackTrace()
synchronized Throwable
getCause()
String
getLocalizedMessage()
String
getMessage()
StackTraceElement[]
getStackTrace()
synchronized final Throwable[]
getSuppressed()
synchronized Throwable
initCause(Throwable arg0)
void
printStackTrace()
void
printStackTrace(PrintWriter arg0)
void
printStackTrace(PrintStream arg0)
void
setStackTrace(StackTraceElement[] arg0)
String
toString()
Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Protected Constructors

protected CronetException (String message, Throwable cause)

Constructs an exception that is caused by cause.

Parameters
message explanation of failure.
cause the cause (which is saved for later retrieval by the getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.