Package | Description |
---|---|
net.sourceforge.htmlunit.corejs.javascript | |
net.sourceforge.htmlunit.corejs.javascript.ast | |
net.sourceforge.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(java.lang.String message)
Report a runtime error using the error reporter for the current thread.
|
static EvaluatorException |
Context.reportRuntimeError(java.lang.String message,
java.lang.String sourceName,
int lineno,
java.lang.String lineSource,
int lineOffset)
Report a runtime error using the error reporter for the current thread.
|
EvaluatorException |
ErrorReporter.runtimeError(java.lang.String message,
java.lang.String sourceName,
int line,
java.lang.String lineSource,
int lineOffset)
Creates an EvaluatorException that may be thrown.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
Context.jsToJava(java.lang.Object value,
java.lang.Class<?> desiredType)
Convert a JavaScript value into the desired type.
|
Modifier and Type | Method and Description |
---|---|
EvaluatorException |
ErrorCollector.runtimeError(java.lang.String message,
java.lang.String sourceName,
int line,
java.lang.String lineSource,
int lineOffset) |
Modifier and Type | Method and Description |
---|---|
EvaluatorException |
ToolErrorReporter.runtimeError(java.lang.String message,
java.lang.String sourceName,
int line,
java.lang.String lineSource,
int lineOffset) |