| Package | Description |
|---|---|
| org.htmlunit.corejs.javascript | |
| org.htmlunit.corejs.javascript.ast | |
| org.htmlunit.corejs.javascript.tools |
| Modifier and Type | Class and Description |
|---|---|
class |
WrappedException
A wrapper for runtime exceptions.
|
| Modifier and Type | Method and Description |
|---|---|
static EvaluatorException |
Context.reportRuntimeError(String message)
Report a runtime error using the error reporter for the current thread.
|
static EvaluatorException |
Context.reportRuntimeError(String message,
String sourceName,
int lineno,
String lineSource,
int lineOffset)
Report a runtime error using the error reporter for the current thread.
|
EvaluatorException |
ErrorReporter.runtimeError(String message,
String sourceName,
int line,
String lineSource,
int lineOffset)
Creates an EvaluatorException that may be thrown.
|
| Modifier and Type | Method and Description |
|---|---|
static Object |
Context.jsToJava(Object value,
Class<?> desiredType)
Convert a JavaScript value into the desired type.
|
static Object |
Context.jsToJava(Object value,
TypeInfo desiredType) |
| Modifier and Type | Method and Description |
|---|---|
EvaluatorException |
ErrorCollector.runtimeError(String message,
String sourceName,
int line,
String lineSource,
int lineOffset)
Creates an EvaluatorException that may be thrown.
|
| Modifier and Type | Method and Description |
|---|---|
EvaluatorException |
ToolErrorReporter.runtimeError(String message,
String sourceName,
int line,
String lineSource,
int lineOffset) |
Copyright © 2025 HtmlUnit. All rights reserved.