public class EvaluatorException extends RhinoException
| Constructor and Description |
|---|
EvaluatorException(String detail) |
EvaluatorException(String detail,
String sourceName,
int lineNumber)
Create an exception with the specified detail message.
|
EvaluatorException(String detail,
String sourceName,
int lineNumber,
String lineSource,
int columnNumber)
Create an exception with the specified detail message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnNumber()
Deprecated.
Use
RhinoException.columnNumber() from the super class. |
int |
getLineNumber()
Deprecated.
Use
RhinoException.lineNumber() from the super class. |
String |
getLineSource()
Deprecated.
Use
RhinoException.lineSource() from the super class. |
String |
getSourceName()
Deprecated.
Use
RhinoException.sourceName() from the super class. |
columnNumber, details, getMessage, getScriptStack, getScriptStack, getScriptStackTrace, getScriptStackTrace, getScriptStackTrace, getStackStyle, initColumnNumber, initLineNumber, initLineSource, initSourceName, lineNumber, lineSource, printStackTrace, printStackTrace, setStackStyle, sourceName, useMozillaStackStyle, usesMozillaStackStyleaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringpublic EvaluatorException(String detail)
public EvaluatorException(String detail, String sourceName, int lineNumber)
Errors internal to the JavaScript engine will simply throw a RuntimeException.
detail - the error messagesourceName - the name of the source responsible for the errorlineNumber - the line number of the sourcepublic EvaluatorException(String detail, String sourceName, int lineNumber, String lineSource, int columnNumber)
Errors internal to the JavaScript engine will simply throw a RuntimeException.
detail - the error messagesourceName - the name of the source responsible for the errorlineNumber - the line number of the sourcecolumnNumber - the columnNumber of the source (may be zero if unknown)lineSource - the source of the line containing the error (may be null if unknown)@Deprecated public String getSourceName()
RhinoException.sourceName() from the super class.@Deprecated public int getLineNumber()
RhinoException.lineNumber() from the super class.@Deprecated public int getColumnNumber()
RhinoException.columnNumber() from the super class.@Deprecated public String getLineSource()
RhinoException.lineSource() from the super class.Copyright © 2025 HtmlUnit. All rights reserved.