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 = 40
lmiwbem_core.CON_ERR_ALREADY_CONNECTED = 41
lmiwbem_core.CON_ERR_NOT_CONNECTED = 42
lmiwbem_core.CON_ERR_INVALID_LOCATOR = 43
lmiwbem_core.CON_ERR_CANNOT_CREATE_SOCKET = 44
lmiwbem_core.CON_ERR_CANNOT_CONNECT = 45
lmiwbem_core.CON_ERR_CONNECTION_TIMEOUT = 46
lmiwbem_core.CON_ERR_SSL_EXCEPTION = 47
lmiwbem_core.CON_ERR_BIND = 48
exception lmiwbem.lmiwbem_core.SLPError

Raised when a SLP error occurs. Following constants may be used to identify error type:

lmiwbem_core.SLP_ERR_LANGUAGE_NOT_SUPPORTED = -1
lmiwbem_core.SLP_ERR_PARSE_ERROR = -2
lmiwbem_core.SLP_ERR_INVALID_REGISTRATION = -3
lmiwbem_core.SLP_ERR_SCOPE_NOT_SUPPORTED = -4
lmiwbem_core.SLP_ERR_AUTHENTICATION_ABSENT = -6
lmiwbem_core.SLP_ERR_AUTHENTICATION_FAILED = -7
lmiwbem_core.SLP_ERR_INVALID_UPDATE = -13
lmiwbem_core.SLP_ERR_REFRESH_REJECTED = -15
lmiwbem_core.SLP_ERR_NOT_IMPLEMENTED = -17
lmiwbem_core.SLP_ERR_BUFFER_OVERFLOW = -18
lmiwbem_core.SLP_ERR_NETWORK_TIMED_OUT = -19
lmiwbem_core.SLP_ERR_NETWORK_INIT_FAILED = -20
lmiwbem_core.SLP_ERR_MEMORY_ALLOC_FAILED = -21
lmiwbem_core.SLP_ERR_PARAMETER_BAD = -22
lmiwbem_core.SLP_ERR_NETWORK_ERROR = -23
lmiwbem_core.SLP_ERR_INTERNAL_SYSTEM_ERROR = -24
lmiwbem_core.SLP_ERR_HANDLE_IN_USE = -25
lmiwbem_core.SLP_ERR_TYPE_ERROR = -26