koala.dynamicjava.interpreter
Class InterpreterException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Error
|
+--koala.dynamicjava.interpreter.error.ExecutionError
|
+--koala.dynamicjava.interpreter.throwable.ThrownException
|
+--koala.dynamicjava.interpreter.InterpreterException
- All Implemented Interfaces:
- java.io.Serializable
- public class InterpreterException
- extends ThrownException
This exception is thrown when an error append while
interpreting a statement
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sourceInformation
protected InterpreterException.SourceInformation sourceInformation
- The source code information
message
protected java.lang.String message
- The detailed message
InterpreterException
public InterpreterException(ParseError e)
- Constructs an
InterpreterException
from a ParseError
InterpreterException
public InterpreterException(ExecutionError e)
- Constructs an
InterpreterException
from a ExecutionError
getError
public java.lang.Throwable getError()
getSourceInformation
public InterpreterException.SourceInformation getSourceInformation()
- Returns the source code information if available, or null
getMessage
public java.lang.String getMessage()
- Returns the detailed message
- Overrides:
getMessage
in class ExecutionError
Copyright © 2001 Stephane Hillion. All Rights Reserved.