Exceptions

exception lmiwbem.lmiwbem_core.CIMError

Raised when a CIM operations fails. Following constants may be used to identify error type:

lmiwbem_core.CIM_ERR_FAILED = 1
lmiwbem_core.CIM_ERR_ACCESS_DENIED = 2
lmiwbem_core.CIM_ERR_INVALID_NAMESPACE = 3
lmiwbem_core.CIM_ERR_INVALID_PARAMETER = 4
lmiwbem_core.CIM_ERR_INVALID_CLASS = 5
lmiwbem_core.CIM_ERR_NOT_FOUND = 6
lmiwbem_core.CIM_ERR_NOT_SUPPORTED = 7
lmiwbem_core.CIM_ERR_CLASS_HAS_CHILDREN = 8
lmiwbem_core.CIM_ERR_CLASS_HAS_INSTANCES = 9
lmiwbem_core.CIM_ERR_INVALID_SUPERCLASS = 10
lmiwbem_core.CIM_ERR_ALREADY_EXISTS = 11
lmiwbem_core.CIM_ERR_NO_SUCH_PROPERTY = 12
lmiwbem_core.CIM_ERR_TYPE_MISMATCH = 13
lmiwbem_core.CIM_ERR_QUERY_LANGUAGE_NOT_SUPPORTED = 14
lmiwbem_core.CIM_ERR_INVALID_QUERY = 15
lmiwbem_core.CIM_ERR_METHOD_NOT_AVAILABLE = 16
lmiwbem_core.CIM_ERR_METHOD_NOT_FOUND = 17
exception lmiwbem.lmiwbem_core.ConnectionError

Raised when a connection to CIMOM fails. Following constants may be used to identify error type:

lmiwbem_core.CON_ERR_OTHER = 0
lmiwbem_core.CON_ERR_ALREADY_CONNECTED = 1
lmiwbem_core.CON_ERR_NOT_CONNECTED = 2
lmiwbem_core.CON_ERR_INVALID_LOCATOR = 3
lmiwbem_core.CON_ERR_CANNOT_CREATE_SOCKET = 4
lmiwbem_core.CON_ERR_CANNOT_CONNECT = 5
lmiwbem_core.CON_ERR_CONNECTION_TIMEOUT = 6
lmiwbem_core.CON_ERR_SSL_EXCEPTION = 7
lmiwbem_core.CON_ERR_BIND = 8

Previous topic

CIMQualifier

Next topic

NocaseDict

This Page