|
|||||||||||
| 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
org.mozilla.javascript.EvaluatorException
The class of exceptions thrown by the JavaScript engine.
| Constructor Summary | |
|---|---|
EvaluatorException(java.lang.String detail)
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()
The column number of the location of the error, or zero if unknown. |
int |
getLineNumber()
Returns the line number of the statement causing the error, or zero if not available. |
java.lang.String |
getLineSource()
The source of the line causing the error, or zero if unknown. |
java.lang.String |
getSourceName()
Get the name of the source containing the error, or null if that information is not available. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public EvaluatorException(java.lang.String detail)
detail - a message with detail about the exception
public 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 reponsible 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()
public int getLineNumber()
public int getColumnNumber()
public java.lang.String getLineSource()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||