Package edu.vub.at.exceptions

Exception Summary
InterpreterException ATException is the superclass of all exceptions thrown by the AmbientTalk interpreter.
XArityMismatch XArityMismatch is thrown during function application when actual arguments are bound to formal parameters and there are either too many or too few actual arguments supplied.
XClassNotFound Raised when a request to load a class via a JavaPackage failed.
XDuplicateSlot An XDuplicateSlot exception is raised when a field or a method is added to an object that already contains a field or method with the same name.
XIllegalApplication XIllegalApplication is thrown when a natively implemented method is applied incorrectly.
XIllegalArgument An XIllegalArgument exception is thrown when primitive operations on native types get passed an illegal argument value.
XIllegalIndex An XIllegalIndex exception is thrown by the evaluator whenever an invalid value is used as the index into a table (e.g. when defining, assigning or referencing it).
XIllegalOperation XIllegalOperation is thrown whenever an operation is requested that is a violation of the expected semantics of the interpreter.
XIllegalParameter An XIllegalParameter exception is raised when the interpreter detects a faulty formal parameter list of a function or method when it is invoked.
XIllegalQuote An XIllegalQuote exception is raised whenever an unquote-splice unquotation is discovered in an AG node where the resulting table cannot be spliced.
XIllegalSplice XIllegalSplice is thrown when an @ token was not encountered in one of its legal positions namely when unquoting a table or in the argument-list of an application.
XIllegalUnquote An XIllegalUnquote exception is raised when an unquotation is discovered in a non-quoted piece of source code.
XImportConflict An XImportConflict exception is raised when an import: native fails because the importing object already defines one or more methods or fields available in the imported object.
XIndexOutOfBounds An XIndexOutOfBounds exception is raised when an attempt is made to access or modify an AGTable beyond its capacity.
XIOProblem The class XIOProblem is mainly a wrapper class for Java IOExceptions.
XNotInstantiatable Raised whenever a wrapped Java class cannot be instantiated because: - it has no publicly accessible constructors - it is abstract
XParseError XParseError is thrown when illegal input is parsed by the AmbientTalk parser.
XReflectionFailure An instance of the class XReflectionFailure is thrown when something goes wrong when dealing with mirror or mirage operations.
XSelectorNotFound XSelectorNotFound is thrown during lookup when a particular field cannot be found.
XSymbiosisFailure An instance of this class is raised whenever a symbiotic method invocation fails due to overloading which could not be resolved given the actual arguments.
XTypeMismatch XTypeMismatch instances are thrown when a value conversion failed.
XUnassignableField An XUnassignableField exception is raised whenever a variable assignment fails because the variable/field is immutable.
XUndefinedField An XUndefinedField exception is raised whenever a variable reference lookup fails, or a field assignment lookup fails.
XUserDefined Instances of the XUserDefined act as wrappers for ATObjects which are thrown at the ambienttalk level using the raise: primitive.