love fish大鹏一曰同风起,扶摇直上九万里

常用链接

统计

积分与排名

friends

link

最新评论

DM_OBJECT

; $Id: dmobject.e,v 5.5 2002/06/20 00:19:48 ziff Exp $
;
; dmObject class errors
;
.facility DM_OBJECT
;
;
; Basic object warning codes.
;
.severity WARNING
SET_ATTR_TYPE_MISMATCH S "attempt to assign value of wrong type to attribute %s"
;CAUSE: Program executed a SetAttr with a value of a type different from the type of the attribute.
;ACTION: No action.
;PARAMETERS: The name of the attribute.
;
;
SET_ATTR_KIND_MISMATCH S "attempt to set to non-zero position in single-valued attribute %s"
;CAUSE: Program executed a SetAttr with a non-zero position (trying to change a multi-valued attribute); the attribute only had a single value.
;ACTION: No action.
;PARAMETERS: The name of the attribute.
;
;
SET_ATTR_LENGTH_MISMATCH I "attempt to set attribute %d beyond current length"
;CAUSE:  Program executed a SetAttr with a position beyond the current length of the value list for the attribute.
;ACTION: No action.
;PARAMETERS: The name of the attribute.
;
;
SET_ATTR_STRING_LENGTH S "attempt to assign string of excessive length to attribute %s"
;CAUSE: Program executed a SetAttr of a string-valued attribute.  The length of the string being assigned to the attribute was longer than the length property of the attribute.
;ACTION: No action.
;PARAMETERS: The name of the attribute.
;
;
APPEND_ATTR_TYPE_MISMATCH S "attempt to append value of wrong type to attribute %s"
;CAUSE: Program executed an AppendAttr with a value of a type different from the type of the attribute.
;ACTION: No action.
;PARAMETERS: The name of the attribute.
;
;
INSERT_ATTR_TYPE_MISMATCH S "attempt to insert value of wrong type in attribute %s"
;CAUSE: Program executed an InsertAttr with a value of a type different from the type of the attribute.
;ACTION: No action.
;PARAMETERS: The name of the attribute.
;
;
INSERT_ATTR_LEN_MISMATCH S "attempt to insert value beyond current length of attribute %s"
;CAUSE: Program executed an InsertAttr at a position beyond the current length of the list of values in the attribute.
;ACTION: No action.
;PARAMETERS: The name of the attribute.
;
;
INSERT_ATTR_NAME_ERROR S "attempt to insert into non-existent attribute %s"
DELETE_ATTR_LEN_MISMATCH S "attempt to delete non-existing item in attribute %s"
;CAUSE: Program executed an InsertAttr naming a non-existent attribute.
;ACTION: No action.
;PARAMETERS: The name of the attribute.
;
;
GET_ATTR_TYPE_MISMATCH S "attempt to read value of wrong type from attribute %s"
;CAUSE: Program executed a Get operation with a result type different from the type of the attribute (e.g., using GetLongAttrByName on a string-valued attribute).
;ACTION: No action.
;PARAMETERS: The name of the attribute.
;
;
GET_ATTR_NAME_ERROR S "attempt to get non-existent attribute %s"
;CAUSE: Program executed a Get operation on a non-existent attribute.
;ACTION: No action.
;PARAMETERS: The name of the attribute.
;
;
GET_ATTR_KIND_ERROR S "attempt to fetch from non-zero position in single-valued attribute %s"
;CAUSE: Program executed a Get operation with a non-zero position argument, when the attribute contained only a single-value/
;ACTION: No action.
;PARAMETERS: The name of the attribute.
;
;
SET_ATTR_POSITION_ERROR I  "attempt to set non-existent attribute %d"
;CAUSE: Program executed a Set operation on a non-existent attribute.
;ACTION: No action.
;PARAMETERS: The number of the attribute being set.
;
SET_ATTR_TYPE_ERROR I "attempt to assign value of wrong type to attribute %d"
;CAUSE: Program executed a Set operation to change the value of an attribute to a value of the wrong type (a type inconsistent with the type of the attribute).
;ACTION: No action.
;PARAMETERS: The number of the attribute being set.
;
;
SET_ATTR_LENGTH_ERROR I "attempt to set non-existent attribute value of attribute %d"
;CAUSE: Program executed a Set operation with a non-zero position argument that was beyond the current number of values in the attribute.
;ACTION: No action.
;PARAMETERS: The number of the attribute being set.
;
;
SET_ATTR_STRING_TOO_LONG I "attempt to assign string of excessive length to attribute %i"
;CAUSE: Program executed a Set operation to assign a string that is longer than the maximum size allowed for the attribute.
;ACTION: No action.
;PARAMETERS: The number of the attribute being set.
;
;
APPEND_ATTR_POSITION_ERROR I "attempt to append to non-existent attribute %d"
;CAUSE: Program executed an Append operation to append a value to a non-existent attribute.
;ACTION: No action.
;PARAMETERS: The number of the attribute.
;
;
APPEND_ATTR_TYPE_ERROR I "attempt to append value of wrong type to attribute %d"
;CAUSE: Program executed an Append operation to append a value of a type different from the type of the attribute.
;ACTION: No action.
;PARAMETERS: The number of the attribute.
;
;
APPEND_ATTR_KIND_ERROR I "attempt to append to non-repeating attribute %d"
;CAUSE: Program attempted to Append a value to a single-valued attribute.
;ACTION: No action.
;PARAMETERS: The number of the attribute.
;
;
APPEND_ATTR_STRING_LENGTH_ERROR I "attempt to append string of excessive length to attribute %i"
;CAUSE: Program attempted to Append a string value with a length that exceeded the maximum length allowed for the attribute.
;ACTION: No action.
;PARAMETERS: The number of the attribute.
;
;
INSERT_ATTR_POSITION_ERROR I "attempt to insert in non-existent attribute %d"
;CAUSE: Program executed an Insert operation to insert a value in a non-existent attribute.
;ACTION: No action.
;PARAMETERS: The number of the attribute.
;
;
INSERT_ATTR_KIND_ERROR I "attempt to insert into non-repeating attribute %d"
;CAUSE: Program executed an Insert operation to add a new value into a single-valued attribute.
;ACTION: No action.
;PARAMETERS: The number of the attribute.
;
;
INSERT_ATTR_LEN_ERROR II "attempt to insert at invalid position %d in attribute %d"
;CAUSE:  Program executed an Insert operation to add a value at an invalid position (i.e., the position specified was negative or beyond the current list of values in the attribute).
;ACTION: No action.
;PARAMETERS: The number of the attribute.
;
;
ADD_ATTR_DUPLICATE_ERROR S "attempt to add duplicate attribute %s"
;CAUSE: Program executed an AddAttr operation to add an attribute that already exists in the object.
;ACTION: No action.
;PARAMETERS: The name of the attribute.
;
;
DELETE_ATTR_POSITION_ERROR I "attempt to delete non-existent attribute %d"
;CAUSE: Program executed a DeleteAttr operation that specified an non-existent attribute position (either a negative number or a number larger than the number of attributes in the object).
;ACTION: No action.
;PARAMETERS: The number of the attribute.
;
;
DELETE_ATTR_LEN_ERROR II "attempt to delete at non-existent position %d in attribute %d"
DELETE_ATTR_NAME_ERROR S "attempt to delete non-existent attribute %s"
;CAUSE: Program executed a DeleteAttr operation that specified a non-existent value in the attribute (the position either was negative or greater than the current number of values in the attribute).
;ACTION: No action.
;PARAMETERS: The number of the attribute.
;
;
DROP_ATTR_POSITION_ERROR I "attempt to drop value from non-existent attribute %d"
;CAUSE: Program executed a DropAttr operation that specified an non-existent attribute position (either a negative number or a number larger than the number of attributes in the object).
;ACTION: No action.
;PARAMETERS: The number of the attribute.
;
;
DROP_ATTR_LENGTH_ERROR I "attempt to drop non-existent value from attribute %d"
;CAUSE: Program executed a DropAttr that specified a non-existent value in the attribute (the position either was negative or greater than the current number of values in the attribute).
;ACTION: No action.
;PARAMETERS: The number of the attribute.
;
;
DROP_ATTR_NAME_ERROR S "attempt to drop value from non-existent attribute %s"
;CAUSE: Program executed a DropAttr that specified an non-existent attribute name.
;ACTION: No action.
;PARAMETERS: The name of the attribute.
;
;
GET_ATTR_POSITION_ERROR I "attempt to fetch non-existent attribute %d"
;CAUSE: Program executed a Get operation to fetch an attribute that did not exist (the attribute number that was passed was either negative or larger than the number of attributes in the object).
;ACTION: No action.
;PARAMETERS: The number of the attribute.
;
;
GET_ATTR_TYPE_ERROR I "attempt to read value of wrong type from attribute %d"
;CAUSE: Program executed a Get operation with a result type different from the type of the attribute (e.g., using GetLongAttr on a string-valued attribute).
;ACTION: No action.
;PARAMETERS: The number of the attribute.
;
;
GET_ATTR_LENGTH_ERROR IIS "attempt to read from non-existent position %d in attribute %d, type %s"
;CAUSE: Program executed Get operation on a non-existent attribute (i.e., the attribute position specified was negative or beyond the last attribute of the object).
;ACTION: No action.
;PARAMETERS: The position of the attribute.
;
;
SET_TYPE_WITH_NULL_TYPE "attempt to set type of persistent object with NULL type"
;CAUSE: Program executed a SetType operation using a NULL type.
;ACTION: No action.
;PARAMETERS: None.
;
;
FIND_ATTR_NAME_ERROR S "attempt to find value in non-existent attribute %s"
;CAUSE:  Program executed a FindAttrValue operation naming a non-existent attribute.
;ACTION: No action.
;PARAMETERS: The name of the attribute.
;
;
SET_ATTR_BY_NAME_LENGTH_MISMATCH S "attempt to set attribute %s beyond current length"
;CAUSE:  Program executed a SetAttr with a position beyond the current length of the value list for the attribute.
;ACTION: No action.
;PARAMETERS: The name of the attribute.
;
;
SET_ATTR_TYPE_ERROR_NAME IS "attempt to assign value of wrong type to attribute %d (name %s)"
;CAUSE: Program executed a Set operation to change the value of an attribute to a value of the wrong type (a type inconsistent with the type of the attribute).
;ACTION: No action.
;PARAMETERS: The number and name of the attribute being set.
;
APPEND_ATTR_TYPE_ERROR_NAME IS "attempt to append value of wrong type to attribute %d (name %s)"
;CAUSE: Program executed an Append operation to append a value of a type different from the type of the attribute.
;ACTION: No action.
;PARAMETERS: The number and name of the attribute.
;
GET_ATTR_TYPE_ERROR_NAME IS "attempt to read value of wrong type from attribute %d (name %s)"
;CAUSE: Program executed a Get operation with a result type different from the type of the attribute (e.g., using GetLongAttr on a string-valued attribute).
;ACTION: No action.
;PARAMETERS: The number and name of the attribute.
;
SET_ATTR_STRING_MALFORMED_NAME IISS "attempt to assign malformed value of encoding %d to attribute %d (name %s).  Value:%s"
;CAUSE: Program executed a Set operation supplying a string value that was not a legal string in the specified encoding
;ACTION: No action.
;PARAMETERS: The encoding number, number and name of the attribute, and atribute value
;
TYPE_VERSION_MISMATCH SII "wrong type version for object of type %s; object has version %d, but server type has version %d"
;CAUSE: When processing an object, the type version of the serialized type and type version of the server type differed.
;ACTION: If errors result, refresh object, and reapply changes.
;PARAMETERS: The name of the type, serialized type version, type system type version.
;

.severity ERROR
LOAD_KEYWORD_ERROR "error loading object -- stream should begin with OBJ"
;CAUSE: An attempt was made to read an object from an input stream; the stream did not begin with the keyword "OBJ" used to indicate the start of an object dump.
;ACTION: No recovery possible.
;PARAMETERS: None
;
;
LOAD_TYPE_ERROR S "error loading object -- can't find type %s"
;CAUSE: When reading an input stream containing an object, the type name was given as the type of the object in the stream; the type is unknown and can't be found on the server.
;ACTION: No recovery possible.
;PARAMETERS: The name of the type that could not be found.
;
;
LOAD_COUNT_ERROR SII "error loading object -- wrong object count for object of type %s; found %d attributes, but type says there should be %d"
;CAUSE: When reading an input stream containing an object, the count of attribute values in the stream and the count of attributes in the type differed.
;ACTION: No recovery possible.
;PARAMETERS: The name of the type, the count of attributes in the stream, the count of attributes in the type.
;
;
FETCH_FAILURE "error fetching object attributes"
;CAUSE: The client could not fetch an object's attributes
;ACTION: Probable server failure.
;
;
OBJECT_TOO_BIG "attempt to return object that exceeds the network buffer size"
;CAUSE: The object being returned from an RPC exceeds the size of the network buffer (64K).
;ACTION: No recovery possible.
;
BAD_DD_HANDLE SI "Could not parse Data Dictionary handle for type %s.  Error code = %d."
;CAUSE: This is an internal error.
;ACTION: No recovery possible.
;
COULD_NOT_FETCH_DD_OBJECT S "Could not fetch the Data Dictionary object for type %s."
;CAUSE: This is an internal error.
;ACTION: No recovery possible.
;
BAD_DD_ATTR_HANDLE SSI "Could not parse Data Dictionary handle for type %s, attribute %s.  Error code = %d."
;CAUSE: This is an internal error.
;ACTION: No recovery possible.
;
COULD_NOT_FETCH_DD_ATTR_OBJECT SS "Could not fetch the Data Dictionary object for type %s, attribute %s."
;CAUSE: This is an internal error.
;ACTION: No recovery possible.
;
LOAD_TYPE_VERSION_ERROR SII "error loading object -- wrong type version for object of type %s; loaded object has version %d, but current type has version %d"
;CAUSE: When reading an input stream containing an object, the type version of the serialized type and type version of the server type differed.
;ACTION: Reload the object and reapply changes.
;PARAMETERS: The name of the type, serialized type version, type system type version.
;

OBJECT_ID_LOOKUP D "Error looking up object '%s'."
;PARAMETERS:
;  %1 - handle for object we failed on.
;CAUSE:  Internal error occurred while processing or evaluating object.
;ACTION: Check the error log for further messages that might give more detail.
;        Check that the specified object is valid.
;

INVALID_TYPE SD "Invalid type '%s' for object '%s'."
;PARAMETERS:
;  %1 - type name we were looking for
;  %2 - handle for object we failed on.
;CAUSE:  Could not find the type for an object we were processing
;ACTION: Check the error log for further messages that might give more detail.
;        Check that the specified object is valid.
;

posted on 2009-11-16 12:47 liaojiyong 阅读(615) 评论(0)  编辑  收藏 所属分类: Documentum


只有注册用户登录后才能发表评论。


网站导航: