Programmer's Guide > Interfaces > CMSException exception > CMSExceptionCode enumeration
  
CMSExceptionCode enumeration
An integer indicating the type of CMS error generated.
The CMSExceptionCode enumeration has the following constants of type unsigned short.
NO_NESTED_TRANS_ERR = 1
Adapter does not support nested transactions.
INVALID_POID_ERR = 2
Invalid POID format.
INVALID_LOGID_ERR = 3
Invalid logical ID format.
INVOKE_FAILED_ERR = 4
Adapter method call failed.
BAD_EXTENSION_ERR = 5
Extension operation does not exist.
NO_LICENSE_ERR = 6
Unable to obtain a license for the adapter.
OBJECT_NOT_FOUND_ERR = 7
Object doesn't exist.
NO_CONFIG_ERR = 8
Error opening configuration file.
UNSUP_PROTO_ERR = 9
This version of the adapter is not supported.
STILL_CONNECTED_ERR = 10
Session still connected.
CANT_CONNECT_ERR = 11
Error connecting.
CANT_DISCONNECT_ERR = 12
Error disconnecting.
CANT_LOGIN_ERR = 13
Invalid login.
CANT_INIT_ERR = 14
Adapter initialization failed.
CANT_ALLOC_ERR = 15
Can't allocate resource.
NO_SGML_INCLUDE_ERR = 16
Xinclude cannot be used with SGML documents.
PARENT_UNLOCKED_ERR = 17
Operation failed because parent is not locked.
OPERATION_CANCELED_ERR = 18
Operation was canceled.
DECLS_LOCKED_ERR = 19
Declarations are locked by another user.
UNSUP_ATTR_ERR = 20
Unsupported attribute.
NOMORE_ERR = 21
No more entries.
UNLOCK_ERR = 22
Object is locked.
PARSE_ERR = 23
Parse error.
RESOURCE_ERR = 24
Out of resource.
FOLDER_ERR = 25
Object is a folder.
READ_ONLY_ERR = 26
Object is read-only.
LEAF_ERR = 27
Object is a leaf.
CONTAINER_ERR = 28
Object is a container.
CANT_CREATE_ERR = 29
Can't create object.
CANT_UNLOCK_ERR = 30
Can't unlock object.
CANT_LOCK_ERR = 31
Can't lock object.
CANT_OPEN_ERR = 32
Can't open object.
BAD_ARG_ERR = 33
Invalid argument.
UNIMP_ERR = 34
Unimplemented operation.
FAIL_ERR = 35
General failure.
NOT_CONTAINER_ERR = 36
Object is not a container.
LOCKED_BY_YOU_ERR = 38
Object is already locked by locker.
LOCKED_BY_OTHER_ERR = 39
Object is locked by another.
TOO_MANY_SESSIONS_ERR = 40
Too many open connections.
TOO_MANY_ADAPTERS_ERR = 41
No more adapters can be registered.
SESS_PREFIX_EXISTS_ERR = 42
Connection already established for this session.
ADAPTER_INIT_FAILED_ERR = 43
Adapter failed to initialize.
CANT_FIND_SYM_ERR = 44
Can't find program symbol.
ADAPTER_LOAD_FAILED_ERR = 45
Adapter failed to load.
INVALID_ATTR_ERR = 46
Attribute value is invalid.
INVOCATION_FAILED_ERR = 47
Error invoking the adapter method.
LOG_ERR = 48
Error opening a log output device.
INVALID_CMSADAPTER_ERR = 49
CMSAdapter object is invalid (adapter may have been unloaded).
INVALID_CMSSESSION_ERR = 50
CMSSession object is invalid (session may have been disconnected).
INVALID_CMSOBJECT_ERR = 51
CMSObject object is invalid (session may have been disconnected or document may have been closed).
ADAPTER_ALREADY_REGISTERED_ERR = 52
An adapter with the same qualified name has already been registered.
OPERATION_NOT_ENABLED_ERR = 53
Method cannot be called in the current state. Some adapters support more than one mode, such as online versus offline editing, and not all operations are allowed in every mode. For example, you might not be able to create new CMS folders while working offline.