|
||||||||||
| 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 String |
SHOW_CAUSE_PROPERTY
|
static String |
SHOW_TRACE_PROPERTY
|
protected Throwable |
thrown
|
| Constructor Summary | |
|---|---|
ExecutionError(String s,
Node n)
Constructs an ExecutionError with the specified
detail message, filename, line and column. |
|
| Method Summary | |
|---|---|
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(PrintStream s)
Overridden to delegate to printStackTrace(PrintWriter) to print nested exception information. |
void |
printStackTrace(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 Throwable thrown
public static final String SHOW_CAUSE_PROPERTY
public static final String SHOW_TRACE_PROPERTY
| Constructor Detail |
|---|
public ExecutionError(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 ThrowableprintStackTrace(PrintStream)public void printStackTrace(PrintStream s)
printStackTrace in class ThrowableprintStackTrace(PrintWriter)public void printStackTrace(PrintWriter w)
printStackTrace in class Throwablepublic String getMessage()
getMessage in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||