DIRECTORY Prop USING [PropList], Rope USING [ROPE]; ImagerError: CEDAR DEFINITIONS ~ BEGIN ErrorDesc: TYPE ~ RECORD [code: ErrorCode, explanation: Rope.ROPE, propList: Prop.PropList ¬ NIL]; Error: ERROR [error: ErrorDesc]; Warning: SIGNAL [error: ErrorDesc]; AtomFromErrorCode: PROC [code: ErrorCode] RETURNS [ATOM]; ErrorCode: TYPE ~ MACHINE DEPENDENT { ok (0), -- unused bounds, -- A value is out of range overflow, -- A computation overflowed zeroDivide, -- divide by zero nilFault, -- a NIL value was encountered insufficientMemory, -- out of memory ioError, -- unrecoverable I/O error timeout, -- some resource timed out eof, -- unexpected end-of-file numericalInstability, -- dubious floating-point computation bug, -- an internal error fileNotFound (20), colorModelOperatorNotFound, colorOperatorNotFound, colorNotFound, decompressorNotFound, fontNotFound, operatorNotFound, resourceNotFound, accessError, syntax (40), undefinedOperation, invalidCompressedSequence, malformedFont, invalidEncoding, invalidHeader, invalidIdentifier, invalidInstructionProperty, invalidName, invalidString, invalidToner(50), invalidVersion, malformedDataFile, nullValue (60), -- an uninitialized value was encountered illegalAlternateMetrics, illegalColor, unknownSpecialColor, unknownSignalType, wrongShape, wrongSize, notCardinal, notInteger, notNumber, wrongType(70), noFont, illegalArguments, illegalTransformation, illegalPixelMask, illegalPropertyVector, illegalRunVector, undefinedProperty, stackOverflow (80), stackUnderflow, saveRestoreMismatch, markMismatch, unmarkFailed, invalidOperationSequence, obsoleteConstruct (100), unsupportedColorOperator, notImplemented, -- not currently implemented unimplemented, -- not implemented, probably for a good reason squareEndOnStrokeOfZeroLength (120), unableToProperlyAdjustMaskPositions, noSubstituteColor, fontSubstitution, appearance, error (140), -- an error raised explicitly in a master copySensitive (160), -- a warning that a page's appearance depends on the copy number (BYTE.LAST) }; END. Ζ ImagerError.mesa Copyright Σ 1991, 1992 by Xerox Corporation. All rights reserved. Michael Plass, November 21, 1991 2:49 pm PST The error code definition allows for additional values to be defined without changing this interface; these new codes will be defined as constants in ImagerErrorsExtras. Not an error Basic errors Resource errors Syntax errors Value errors Control errors Implementation restrictions Appearance Client Client Extension ΚΏ–(cedarcode) style•NewlineDelimiter ™code™Kšœ Οeœ7™BK™,K˜—šΟk ˜ Kšœžœ ˜Kšœžœžœ˜—K˜KšΟn œžœž ˜šœž˜K˜š œ žœžœ%žœžœ˜bK˜—šŸœžœ˜ K˜—šŸœžœ˜#K˜—šŸœžœžœžœ˜9K˜—šœ žœžœž œ˜%K™©head™ KšœΟc ˜—™ Kšœ ˜"Kšœ  ˜%Kšœ  ˜Kšœ  ˜(Kšœ ˜$Kšœ  ˜#Kšœ  ˜#Kšœ ˜Kšœ %˜;Kšœ ˜—™K˜K˜K˜K˜K˜K˜ K˜K˜K˜ —™ K˜ K˜K˜K˜K˜Kšœ˜K˜K˜K˜ K˜K˜K˜K˜—™ Kšœ )˜9K˜K˜ K˜Kšœ˜K˜ K˜ Kšœ ˜ Kšœ ˜ Kšœ ˜ K˜K˜K˜K˜K˜Kšœ˜Kšœ˜Kšœ˜—™K˜K˜K˜Kšœ ˜ Kšœ ˜ K˜—™K˜K˜Kšœ ˜,Kšœ .˜=—™ K˜$K˜$K˜K˜Kšœ ˜ —™Kšœ  )˜6—™Kšœ @˜U—™ Kšœžœžœ˜ —Kšœ˜K˜—K˜—K˜Kšžœ˜—…— ‡