|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.javascript.rhino.RhinoException
com.google.javascript.rhino.EcmaError
public class EcmaError
The class of exceptions raised by the engine as described in ECMA edition 3. See section 15.11.6 in particular.
Method Summary | |
---|---|
String |
details()
|
int |
getColumnNumber()
Deprecated. Use RhinoException.columnNumber() from the super class. |
String |
getErrorMessage()
Gets the message corresponding to the error. |
int |
getLineNumber()
Deprecated. Use RhinoException.lineNumber() from the super class. |
String |
getLineSource()
Deprecated. Use RhinoException.lineSource() from the super class. |
String |
getName()
Gets the name of the error. |
String |
getSourceName()
Deprecated. Use RhinoException.sourceName() from the super class. |
Methods inherited from class com.google.javascript.rhino.RhinoException |
---|
columnNumber, 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 |
Method Detail |
---|
public String details()
details
in class RhinoException
public String getName()
public String getErrorMessage()
@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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |