|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.mozilla.javascript.RhinoException org.mozilla.javascript.EvaluatorException
public class EvaluatorException
The class of exceptions thrown by the JavaScript engine.
Constructor Summary | |
---|---|
EvaluatorException(java.lang.String detail)
|
|
EvaluatorException(java.lang.String detail,
java.lang.String sourceName,
int lineNumber)
Create an exception with the specified detail message. |
|
EvaluatorException(java.lang.String detail,
java.lang.String sourceName,
int lineNumber,
java.lang.String lineSource,
int columnNumber)
Create an exception with the specified detail message. |
Method Summary | |
---|---|
int |
getColumnNumber()
Deprecated. Use RhinoException.columnNumber() from the super class. |
int |
getLineNumber()
Deprecated. Use RhinoException.lineNumber() from the super class. |
java.lang.String |
getLineSource()
Deprecated. Use RhinoException.lineSource() from the super class. |
java.lang.String |
getSourceName()
Deprecated. Use RhinoException.sourceName() from the super class. |
Methods inherited from class org.mozilla.javascript.RhinoException |
---|
columnNumber, details, getMessage, getScriptStackTrace, getScriptStackTrace, initColumnNumber, initLineNumber, initLineSource, initSourceName, lineNumber, lineSource, printStackTrace, printStackTrace, sourceName |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EvaluatorException(java.lang.String detail)
public EvaluatorException(java.lang.String detail, java.lang.String sourceName, int lineNumber)
detail
- the error messagesourceName
- the name of the source reponsible for the errorlineNumber
- the line number of the sourcepublic EvaluatorException(java.lang.String detail, java.lang.String sourceName, int lineNumber, java.lang.String lineSource, int columnNumber)
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)Method Detail |
---|
public java.lang.String getSourceName()
RhinoException.sourceName()
from the super class.
public int getLineNumber()
RhinoException.lineNumber()
from the super class.
public int getColumnNumber()
RhinoException.columnNumber()
from the super class.
public java.lang.String getLineSource()
RhinoException.lineSource()
from the super class.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |