|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Error
koala.dynamicjava.interpreter.error.ExecutionError
public class ExecutionError
This error is thrown when an unexpected error append while interpreting a statement
| Field Summary | |
|---|---|
static java.lang.String |
SHOW_CAUSE_PROPERTY
|
static java.lang.String |
SHOW_TRACE_PROPERTY
|
protected java.lang.Throwable |
thrown
|
| Constructor Summary | |
|---|---|
ExecutionError(java.lang.String s,
Node n)
Constructs an ExecutionError with the specified
detail message, filename, line and column. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage()
Returns the error message string of this exception |
Node |
getNode()
Returns the syntax tree node where the error occurs |
void |
printStackTrace()
Overridden to delegate to printStackTrace(PrintStream) to print nested exception information. |
void |
printStackTrace(java.io.PrintStream s)
Overridden to delegate to printStackTrace(PrintWriter) to print nested exception information. |
void |
printStackTrace(java.io.PrintWriter w)
Handles all calls to printStackTrace(), printing the stack trace of the current exception, and also that of its cause. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Throwable thrown
public static final java.lang.String SHOW_CAUSE_PROPERTY
public static final java.lang.String SHOW_TRACE_PROPERTY
| Constructor Detail |
|---|
public ExecutionError(java.lang.String s,
Node n)
ExecutionError with the specified
detail message, filename, line and column.
s - the detail message (a key in a resource file).n - the syntax tree node where the error occurs| Method Detail |
|---|
public Node getNode()
public void printStackTrace()
printStackTrace in class java.lang.ThrowableprintStackTrace(PrintStream)public void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.ThrowableprintStackTrace(PrintWriter)public void printStackTrace(java.io.PrintWriter w)
printStackTrace in class java.lang.Throwablepublic java.lang.String getMessage()
getMessage in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||