CronetException
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
Protected Constructor Summary
|
CronetException(String message, Throwable cause)
Constructs an exception that is caused by cause .
|
Inherited Method Summary
From class
java.lang.Throwable
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()
|
From class
java.lang.Object
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.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-10-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-26 UTC."],[],[],null,["# CronetException\n\npublic abstract class **CronetException** extends IOException \n\n|---|---|---|\n| Known Direct Subclasses [CallbackException](../../../../reference/org/chromium/net/CallbackException.html), [NetworkException](../../../../reference/org/chromium/net/NetworkException.html) |------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [CallbackException](../../../../reference/org/chromium/net/CallbackException.html) | Exception passed to [UrlRequest.Callback.onFailed()](../../../../reference/org/chromium/net/UrlRequest.Callback.html#onFailed(org.chromium.net.UrlRequest,%20org.chromium.net.UrlResponseInfo,%20org.chromium.net.CronetException)) when [UrlRequest.Callback](../../../../reference/org/chromium/net/UrlRequest.Callback.html) or [UploadDataProvider](../../../../reference/org/chromium/net/UploadDataProvider.html) method throws an exception. | | [NetworkException](../../../../reference/org/chromium/net/NetworkException.html) | Exception passed to [UrlRequest.Callback.onFailed()](../../../../reference/org/chromium/net/UrlRequest.Callback.html#onFailed(org.chromium.net.UrlRequest,%20org.chromium.net.UrlResponseInfo,%20org.chromium.net.CronetException)) when Cronet fails to process a network request. | |||\n\n|---|---|---|\n| Known Indirect Subclasses [QuicException](../../../../reference/org/chromium/net/QuicException.html) |----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [QuicException](../../../../reference/org/chromium/net/QuicException.html) | Subclass of [NetworkException](../../../../reference/org/chromium/net/NetworkException.html) which contains a detailed [QUIC](https://www.chromium.org/quic) error code from [QuicErrorCode](https://cs.chromium.org/search/?q=symbol:%5CbQuicErrorCode%5Cb). | |||\n\nBase exception passed to [UrlRequest.Callback.onFailed()](../../../../reference/org/chromium/net/UrlRequest.Callback.html#onFailed(org.chromium.net.UrlRequest,%20org.chromium.net.UrlResponseInfo,%20org.chromium.net.CronetException)). \n\n### Protected Constructor Summary\n\n|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | [CronetException](../../../../reference/org/chromium/net/CronetException.html#CronetException(java.lang.String,%20java.lang.Throwable))(String message, Throwable cause) Constructs an exception that is caused by `cause`. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Throwable \n\n|----------------------------------|-------------------------------------------|\n| synchronized final void | addSuppressed(Throwable arg0) |\n| synchronized Throwable | fillInStackTrace() |\n| synchronized Throwable | getCause() |\n| String | getLocalizedMessage() |\n| String | getMessage() |\n| StackTraceElement\\[\\] | getStackTrace() |\n| synchronized final Throwable\\[\\] | getSuppressed() |\n| synchronized Throwable | initCause(Throwable arg0) |\n| void | printStackTrace() |\n| void | printStackTrace(PrintWriter arg0) |\n| void | printStackTrace(PrintStream arg0) |\n| void | setStackTrace(StackTraceElement\\[\\] arg0) |\n| String | toString() |\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| Object | clone() |\n| boolean | equals(Object arg0) |\n| void | finalize() |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nProtected Constructors\n----------------------\n\n#### protected\n**CronetException**\n(String message, Throwable cause)\n\nConstructs an exception that is caused by `cause`. \n\n##### Parameters\n\n| message | explanation of failure. |\n| cause | the cause (which is saved for later retrieval by the [getCause()](../../../../reference/java/lang/Throwable.html#getCause()) method). A null value is permitted, and indicates that the cause is nonexistent or unknown. |\n|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|"]]