exception library

Exceptions / Errors

JavaScriptAndroidDataInputException
Indicates that streaming JavaScript code into the JS evaluation environment has failed.
JavaScriptAndroidEnvironmentDeadException
Indicates that an environment is dead due to a sandbox unsupported exception, sandbox dead exception, isolate terminated exception, or memory limit exceeded exception.
JavaScriptAndroidEnvironmentGoneException
An exception thrown when a JavaScript environment is gone due to it being uninitialized, disposed, crashed or never existed.
JavaScriptAndroidEnvironmentNotFoundException
Indicates that a JavaScriptIsolate javascript execution environment with the given id was not found.
JavaScriptAndroidEvaluationFailedException
Indicates that an evaluation failed due to a syntax error or exception produced by the script.
JavaScriptAndroidEvaluationResultSizeLimitExceededException
Indicates that a JavaScriptIsolate's evaluation failed due to it returning an oversized result.
JavaScriptAndroidExecutionException
Indicates that an execution failed due to a data input exception, evaluation failed exception, or evaluation result size limit exceeded exception.
JavaScriptAndroidIsolateTerminatedException
Exception produced when evaluation is terminated due to the JavaScriptIsolate being closed or due to some crash.
JavaScriptAndroidMemoryLimitExceededException
Indicates that a JavaScriptIsolate's evaluation failed due to the isolate exceeding its heap size limit.
JavaScriptAndroidSandboxDeadException
Exception thrown when evaluation is terminated due the JavaScriptSandbox being dead. This can happen when close is called or when the sandbox process is killed by the framework.
JavaScriptAndroidSandboxUnsupportedException
Exception thrown when attempting to create a JavaScriptSandbox via createConnectedInstanceAsync when doing so is not supported.