previous next top contents index framed top this page unframed
The programmer must use the identifiers rather than the associated values, since XIDAK reserves the right to change the values.
Table C–1. Predefined Exceptions
| Identifier | Exception string |
|---|---|
| $abortProgramExcpt | "MAINSAIL: Abort program" |
| $abortProcedureExcpt | "MAINSAIL: Abort procedure" |
| $systemExcpt | "MAINSAIL: System exception" |
| $stackOverflowExcpt | "MAINSAIL: Apparent stack overflow" |
| $almostOutOfMemoryExcpt | "MAINSAIL: Almost out of memory" |
| $arithmeticExcpt | "MAINSAIL: Arithmetic error" |
| $exponentExcpt | "MAINSAIL: IntegerOrLongInteger ^ i: i < 0" |
| $subscriptExcpt | "MAINSAIL: Subscript error" |
| $nullArrayExcpt | "MAINSAIL: NULLARRAY access" |
| $nullPointerExcpt | "MAINSAIL: NULLPOINTER data access" |
| $nullCallExcpt | "MAINSAIL: NULLPOINTER call" |
| $unboundModuleExcpt | "MAINSAIL: Unbound MODULE access" |
| $uninitializedLocExcpt | "MAINSAIL: Uninitialized local variable" |
| $uninitializedProdExcpt | "MAINSAIL: Uninitialized produces parameter" |
| $caseIndexExcpt | "MAINSAIL: Case index error" |
| $returnExcpt | "MAINSAIL: Fell out of a typed procedure" |
| $coroutineExcpt | "MAINSAIL: Fell out of coroutine" |
| $cmdFileEofExcpt | "MAINSAIL: cmdFile eof" |
| $descendantKilledExcpt | "MAINSAIL: Coroutine descendant killed" |
| $disposedDataSecExcpt | "MAINSAIL: Return to disposed dataSec" |
| $ttyEofExcpt | "MAINSAIL: tty eof" |
| $stringTooLongExcpt | "MAINSAIL: String too long" |
| $outOfSpaceIoExcpt | "MAINSAIL: Out of space for write" |
| $overheadTooHighExcpt | "MAINSAIL: Overhead too high" |
Note that $overheadTooHighExcpt is considered a temporary feature.