Stay organized with collections Save and categorize content based on your preferences.

JavaScriptException

public class JavaScriptException extends Exception

Known direct subclasses
EvaluationFailedException

Wrapper for the exception thrown by the JS evaluation engine.

IsolateTerminatedException

Exception thrown when evaluation is terminated due to the JavaScriptIsolate being closed or crashing.

MemoryLimitExceededException

Indicates that a JavaScriptIsolate's evaluation failed due to exceeding its heap size limit.

SandboxDeadException

Exception thrown when evaluation is terminated due the JavaScriptSandbox being dead.


Super class for all exceptions resolved by evaluateJavaScriptAsync.

Summary

Public constructors

Inherited methods

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] stackTrace)
String

Public constructors

JavaScriptException

public JavaScriptException()

JavaScriptException

public JavaScriptException(@NonNull String error)