edu.vub.at.exceptions
Class InterpreterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.vub.at.exceptions.InterpreterException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- XArityMismatch, XClassNotFound, XDuplicateSlot, XIllegalApplication, XIllegalArgument, XIllegalIndex, XIllegalOperation, XIllegalParameter, XIllegalQuote, XIllegalSplice, XIllegalUnquote, XImportConflict, XIndexOutOfBounds, XIOProblem, XJavaException, XNotInstantiatable, XParseError, XReflectionFailure, XSelectorNotFound, XSymbiosisFailure, XTypeMismatch, XUnassignableField, XUndefinedField, XUserDefined
- public abstract class InterpreterException
- extends java.lang.Exception
ATException is the superclass of all exceptions thrown by the AmbientTalk interpreter.
TODO tvcutsem Should NATException not implement the interface ATException, such
that all of our code can be typed by 'throws ATException' clauses instead of
'throws NATException' clauses. The latter will cause problems with reflection.
TODO tvcutsem Shouldn't we parameterize NATExceptions with an ATContext and possibly
also an ATAbstractGrammar for evaluation errors. This allows the user to inspect
both which expression was evaluated at exception-raising-time and allows him to inspect
the context at exception-raising-time.
- Author:
- smostinc
- See Also:
- Serialized Form
Fields inherited from class java.lang.Throwable |
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
runtimeStack_
private final InvocationStack runtimeStack_
InterpreterException
public InterpreterException()
InterpreterException
public InterpreterException(java.lang.String message,
java.lang.Throwable cause)
InterpreterException
public InterpreterException(java.lang.String message)
InterpreterException
public InterpreterException(java.lang.Throwable cause)
printAmbientTalkStackTrace
public void printAmbientTalkStackTrace(java.io.PrintStream out)
getAmbientTalkRepresentation
public ATObject getAmbientTalkRepresentation()
getStripeType
public abstract ATStripe getStripeType()