CallbackException
Stay organized with collections
Save and categorize content based on your preferences.
Protected Constructor Summary
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
CallbackException
(String message, Throwable cause)
Parameters
message |
explanation of failure. |
cause |
exception thrown by UrlRequest.Callback that's being wrapped. It is
saved
for later retrieval by the getCause() .
|
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,["# CallbackException\n\npublic abstract class **CallbackException** extends [CronetException](../../../../reference/org/chromium/net/CronetException.html) \nException 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\n[UrlRequest.Callback](../../../../reference/org/chromium/net/UrlRequest.Callback.html) or [UploadDataProvider](../../../../reference/org/chromium/net/UploadDataProvider.html) method throws an exception. In this\ncase [getCause()](../../../../reference/java/lang/Throwable.html#getCause()) can be used to find the thrown exception. \n\n### Protected Constructor Summary\n\n|---|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | [CallbackException](../../../../reference/org/chromium/net/CallbackException.html#CallbackException(java.lang.String,%20java.lang.Throwable))(String message, Throwable cause) Constructs an exception that wraps `cause` thrown by a [UrlRequest.Callback](../../../../reference/org/chromium/net/UrlRequest.Callback.html). |\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**CallbackException**\n(String message, Throwable cause)\n\nConstructs an exception that wraps `cause` thrown by a [UrlRequest.Callback](../../../../reference/org/chromium/net/UrlRequest.Callback.html). \n\n##### Parameters\n\n| message | explanation of failure. |\n| cause | exception thrown by [UrlRequest.Callback](../../../../reference/org/chromium/net/UrlRequest.Callback.html) that's being wrapped. It is saved for later retrieval by the [getCause()](../../../../reference/java/lang/Throwable.html#getCause()). |\n|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|"]]