JavaScriptException
public class JavaScriptException extends Exception
| java.lang.Object | |||
| ↳ | kotlin.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | androidx.javascriptengine.JavaScriptException |
DataInputException |
Indicates that streaming JavaScript code into the JS evaluation environment has failed. |
EvaluationFailedException |
Indicates that an evaluation failed due to a syntax error or exception produced by the script. |
EvaluationResultSizeLimitExceededException |
Indicates that a JavaScriptIsolate's evaluation failed due to it returning an oversized result. |
IsolateTerminatedException |
Exception produced when evaluation is terminated due to the |
MemoryLimitExceededException |
Indicates that a JavaScriptIsolate's evaluation failed due to the isolate exceeding its heap size limit. |
SandboxDeadException |
Exception thrown when evaluation is terminated due the |
Super class for all asynchronous exceptions produced by evaluateJavaScriptAsync.
Summary
Public constructors |
|---|
JavaScriptException(@NonNull String error) |
Inherited methods |
|---|