public class EvaluatorException
extends org.mozilla.javascript.RhinoException
构造器和说明 |
---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
int |
getColumnNumber()
已过时。
Use
RhinoException.columnNumber() from the super class. |
int |
getLineNumber()
已过时。
Use
RhinoException.lineNumber() from the super class. |
java.lang.String |
getLineSource()
已过时。
Use
RhinoException.lineSource() from the super class. |
java.lang.String |
getSourceName()
已过时。
Use
RhinoException.sourceName() from the super class. |
java.lang.String |
toString() |
columnNumber, details, getMessage, getScriptStack, getScriptStack, getScriptStackTrace, getScriptStackTrace, getScriptStackTrace, getStackStyle, initColumnNumber, initLineNumber, initLineSource, initSourceName, lineNumber, lineSource, printStackTrace, printStackTrace, setStackStyle, sourceName, useMozillaStackStyle, usesMozillaStackStyle
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)@Deprecated public java.lang.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 java.lang.String getLineSource()
RhinoException.lineSource()
from the super class.public java.lang.String toString()
toString
在类中 java.lang.Throwable