TargetError
| Modifier and Type | Field and Description |
|---|---|
| pack-priv CallStack | |
| pack-priv String | |
| pack-priv SimpleNode |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public String | |
| public String | |
| public String | getMessage()
Overrides java. |
| pack-priv SimpleNode | |
| public String | |
| protected void | |
| public void | |
| public void | |
| pack-priv void | |
| public String |
| callstack | back to summary |
|---|---|
| pack-priv CallStack callstack | |
| message | back to summary |
|---|---|
| pack-priv String message | |
| node | back to summary |
|---|---|
| pack-priv SimpleNode node | |
| EvalError | back to summary |
|---|---|
| public EvalError(String s, SimpleNode node, CallStack callstack) | |
| getErrorLineNumber | back to summary |
|---|---|
| public int getErrorLineNumber() | |
| getErrorSourceFile | back to summary |
|---|---|
| public String getErrorSourceFile() | |
| getErrorText | back to summary |
|---|---|
| public String getErrorText() | |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Doc from java. Returns the detail message string of this throwable.
| |
| getNode | back to summary |
|---|---|
| pack-priv SimpleNode getNode() The error has trace info associated with it. i.e. It has an AST node that can print its location and source text. | |
| getScriptStackTrace | back to summary |
|---|---|
| public String getScriptStackTrace() | |
| prependMessage | back to summary |
|---|---|
| protected void prependMessage(String s) Prepend the message if it is non-null. | |
| reThrow | back to summary |
|---|---|
| public void reThrow(String msg) throws EvalError Re-throw the error, prepending the specified message. | |
| setMessage | back to summary |
|---|---|
| public void setMessage(String s) | |
| setNode | back to summary |
|---|---|
| pack-priv void setNode(SimpleNode node) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Print the error with line number and stack trace.
| |