|
|||||||||||
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
koala.dynamicjava.interpreter.throwable.ThrownException
koala.dynamicjava.interpreter.InterpreterException
This exception is thrown when an error append while interpreting a statement
Nested Class Summary | |
static class |
InterpreterException.SourceInformation
To represent the source code informations |
Field Summary | |
protected java.lang.String |
message
The detailed message |
protected InterpreterException.SourceInformation |
sourceInformation
The source code information |
Fields inherited from class koala.dynamicjava.interpreter.error.ExecutionError |
SHOW_CAUSE_PROPERTY, SHOW_TRACE_PROPERTY, thrown |
Constructor Summary | |
InterpreterException(ExecutionError e)
Constructs an InterpreterException from a ExecutionError |
|
InterpreterException(ParseError e)
Constructs an InterpreterException from a ParseError |
Method Summary | |
java.lang.Throwable |
getError()
|
java.lang.String |
getMessage()
Returns the detailed message |
InterpreterException.SourceInformation |
getSourceInformation()
Returns the source code information if available, or null |
Methods inherited from class koala.dynamicjava.interpreter.throwable.ThrownException |
getException |
Methods inherited from class koala.dynamicjava.interpreter.error.ExecutionError |
getNode, printStackTrace, printStackTrace, printStackTrace |
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 InterpreterException.SourceInformation sourceInformation
protected java.lang.String message
Constructor Detail |
public InterpreterException(ParseError e)
InterpreterException
from a ParseError
public InterpreterException(ExecutionError e)
InterpreterException
from a ExecutionError
Method Detail |
public java.lang.Throwable getError()
public InterpreterException.SourceInformation getSourceInformation()
public java.lang.String getMessage()
getMessage
in class ExecutionError
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |