An exception is raised when something goes wrong. An exception contains a
message that reports what went wrong. An exception also contains a sequence
of stack frames that defines the history of computation at the point the
exception was raised. An exception may optionally contain information
about where in the source file the error occurred. This is encoded as the
lineCount.
Constructors | |
Exception() | No Documentation |
Exception(message) | No Documentation |
Attributes | ||
backtrace | Seq(Element) | No Documentation Specified |
charCount | Integer | No Documentation Specified |
lineCount | Integer | No Documentation Specified |
message | String | No Documentation Specified |
resourceName | String | No Documentation Specified |
Operations | |
display():Element | Call this operation to display an exception to the user. If Mosaic is in full swing then the stack trace will be displayed as a tree. Otherwise the stack trace is printed in text. |
printBacktrace(short:Boolean):Element | No Documentation Specified |
printBacktrace():Element | Call this operation to print out the state of the XMF call stack at the point the exception was created assuming it called setBacktrace() at that point. |
printBacktraceHeader(out:Element):Element | No Documentation Specified |
printBasicBacktrace():Element | No Documentation Specified |
printFrame(frame:Element):Element | An exception stack frame contains information about the operation that was currently executing, the target of the call, the arguments and any locals. There also may be information about the original source file and the position of execution in that file. |
setBacktrace():Element | No Documentation Specified |
stackFrames():Seq(StackFrame) | No Documentation Specified |
toString():String | No Documentation Specified |
From Object: slotMissing, slotMissing, setProperty, setHotLoad, setDaemonsActive, setDaemons, set, renameSlot, removeStructuralFeature, removeDaemonsWithTarget, removeDaemonsWithId, removeDaemonNamed, removeDaemon, machineInit, initSlots, init, hotLoaded, hotLoad, hasSlot, hasProperty, getProperty, get, hasStructuralFeature, getStructuralFeatureNames, hasDaemonWithTarget, hasDaemonWithIdAndTarget, hasDaemonWithId, hasDaemonNamed, fire, destroyDaemon, daemonWithIdAndTarget, daemonWithId, daemonNamed, daemonsActive, daemons, allDaemonsWithTarget, allDaemonsWithId, compositeValues, allCompositeValuesAndSelf, allCompositeValues, addStructuralFeature, addPersistentDaemon, addMultiDaemon, addDaemon. From Element: pprint, pprint, pprint, writeXMLFile, writeXMLFile, writeXML, lift, toSnapshot, toSnapshot, allHTMLEntries, allHTMLPackages, toHTML, writeHTML, writeHTML, writeHTMLAllEntries, writeHTMLAllPackages, writeHTMLIndex, writeHTMLOverview, yield, toString, systemId, setOf, send, save2, save, removeDaemon, removeDaemon, println, print, oclIsKindOf, oclIsTypeOf, noOperationFound, isTypeOf, isReallyKindOf, init, init, of, isKindOf, addTo, checkConstraints, copy, deleteRecursive, die, edit, equals, error, ferror, hashCode. |