<> <> <> <> <> <> <> <> DIRECTORY Rope USING [ROPE]; DBEnvironment: CEDAR DEFINITIONS = BEGIN <> TupleObject: TYPE; <> FirstLast: TYPE = {First, Last}; Version: TYPE = {OldOnly, NewOnly, NewOrOld}; <> Error: SIGNAL[code: ErrorCode]; -- Exported to be same as DB.Error <> <> <> <> <> <> ErrorCode: TYPE = { AlreadyExists, -- DeclareEntity, DeclareRelship: already exists, but version=NewOnly BadUserPassword, -- User name and/or password invalid (from Alpine) CannotDefaultSegment, -- Segment name not built-in to Cypress, and no segment # given DatabaseNotInitialized, -- Attempt to perform operation without calling DB.Initialize DictionaryUpdate, -- Attempt to modify a dictionary relship or entity: EntityOrRelshipSetsOpen, -- Excessive Domain/RelationSubsets still open (CloseTransaction). DirectoryNotFound, -- Directory specified in segment name not found on file server FileNotFound, -- No existing segment found with given file name, and version=OldOnly IllegalAttribute, -- Attribute not of the given relship's Relation or not attribute IllegalDomain, -- Argument is not actually a domain IllegalFileName, -- No directory or machine given for segment, or invalid chars in name IllegalEntity, -- Argument to GetP, or etc., is not an Entity IllegalRelship, -- Argument to GetF, or etc., is not a Relship IllegalRelation, -- Argument is not a relation IllegalString, -- Nulls not allowed in ROPEs passed to the database system IllegalSuperType, -- Can't define subtype of domain that already has entities IllegalValue, -- Value is not REF INT, ROPE, REF BOOL, or Entity IllegalValueType, -- Type passed DeclareAttribute is not datatype or domain MismatchedProperty, -- aOf and aIs attribute not from the same relation MismatchedAttributeValueType, -- Value not same type as required (SetF) MismatchedExistingAttribute, -- Existing attribute is different (DeclareAttribute) MismatchedExistingSegment, -- Existing segment has different # or name MismatchedPropertyCardinality, -- Did GetP with aOf that is not a Key MismatchedSegment, -- Attempt to create reference across segment boundary (e.g., SetF) MismatchedValueType, -- value passed V2E, V2I, etc. not of expected type MultipleMatch, -- More than one relationship satisfied avl on DeclareRelship. MustSetKeyAttributeFirst, -- For now, must set key attribute of a Relship before others NonUniqueEntityName, -- Entity in domain with that name already exists NonUniqueKeyValue, -- Relship already exists with same value for a key attribute NotFound, -- Version is OldOnly but no such Entity, Relation, or etc found NotImplemented, -- Action requested is not currently implemented NILArgument, -- Attempt to perform operation on NIL argument NullifiedArgument, -- Entity or relationship has been deleted, or invalidated by trans abort ProtectionViolation, -- Read or write to segment file not permitted this user. QuotaExceeded, -- Database too big for Alpine page quota of segment's directory SegmentNotDeclared, -- Attempt to open transaction on segment with no DeclareSegment ServerNotFound, -- File server does not exist or does not respond TransactionNotOpen, -- Attempt to perform operation with no transaction open TransactionAlreadyOpen, -- Attempt to open transaction on segment already associated w/one WriteNotAllowed, -- Attempt to write data but DeclareSegment specified read-only Unknown -- Unknown or not yet assigned error code }; Aborted: ERROR [trans: REF ANY]; <> <> <> <> <> <> <> <> <> Failure: ERROR [trans: REF ANY, what: ATOM, info: Rope.ROPE_ NIL]; <> <> <> <> <> <> <<$communication: can't talk to server>> <<$lockConflict: transactions keep aborting while opening file>> <<$serverBusy: can talk to server but it refuses to create a transaction>> <<$allCachePagesLocked: see Rick or Mark>> <<$segmentTableOverflow: see Rick or Mark>> <<$tooManyRefs: estimate of maximum domain refs in DeclareDomain too small>> InternalError: ERROR; <> <> <> <> <> END. CHANGE LOG Changed by Cattell on January 14, 1983 1:28 pm: <> Changed by Willie-Sue on February 10, 1983: <> Changed by MBrown on February 10, 1983: <> <> Changed by Cattell on June 6, 1983: <> Changed by Cattell on July 18, 1983 12:27 pm: <> Changed by Cattell on November 8, 1983 10:46 am: <> <<>> Changed by Willie-Sue on February 14, 1985 <>