Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
RuntimeException
org.mozilla.javascript.RhinoException
org.mozilla.javascript.EvaluatorException
public class EvaluatorException
extends RhinoException
Constructor Summary | |
| |
| |
|
Method Summary | |
int |
|
int |
|
String |
|
String |
|
Methods inherited from class org.mozilla.javascript.RhinoException | |
String getMessage , columnNumber , details , getScriptStackTrace , getScriptStackTrace , initColumnNumber , initLineNumber , initLineSource , initSourceName , lineNumber , lineSource , sourceName , void printStackTrace , void printStackTrace |
public EvaluatorException(String detail)
public EvaluatorException(String detail, String sourceName, int lineNumber)
Create an exception with the specified detail message. Errors internal to the JavaScript engine will simply throw a RuntimeException.
- Parameters:
detail
- the error messagesourceName
- the name of the source reponsible for the errorlineNumber
- the line number of the source
public EvaluatorException(String detail, String sourceName, int lineNumber, String lineSource, int columnNumber)
Create an exception with the specified detail message. Errors internal to the JavaScript engine will simply throw a RuntimeException.
- Parameters:
detail
- the error messagesourceName
- the name of the source responsible for the errorlineNumber
- the line number of the sourcelineSource
- the source of the line containing the error (may be null if unknown)columnNumber
- the columnNumber of the source (may be zero if unknown)
public int getColumnNumber()
Deprecated. Use
RhinoException.columnNumber()
from the super class.
public int getLineNumber()
Deprecated. Use
RhinoException.lineNumber()
from the super class.
public String getLineSource()
Deprecated. Use
RhinoException.lineSource()
from the super class.
public String getSourceName()
Deprecated. Use
RhinoException.sourceName()
from the super class.