LMIExceptions Package

exception lmi.shell.LMIExceptions.CIMError(*args)

LMIShell’s exception for CIM errors.

exception lmi.shell.LMIExceptions.ConnectionError(*args)

LMIShell’s exception for Connection errors.

exception lmi.shell.LMIExceptions.LMIClassNotFound(namespace, class_name)

Raised, when trying to access missing class in LMINamespace.

Parameters:
  • namespace (string) – namespace name
  • classname (string) – class name, which was not found in namespace
exception lmi.shell.LMIExceptions.LMIDeletedObjectError

Raised, when there is an attempt to access properties on deleted LMIInstance object.

exception lmi.shell.LMIExceptions.LMIFilterError

Raised, when a filter error occurs, mostly when filter object is missing.

exception lmi.shell.LMIExceptions.LMIHandlerNamePatternError

Raised when the pattern string does not contain minimum replaceable characters.

exception lmi.shell.LMIExceptions.LMIIndicationError

Raised, if an error occurs while subscribing to/removing an indication.

exception lmi.shell.LMIExceptions.LMIIndicationListenerError

Raised, if there is an error while starting/stopping indication listener.

exception lmi.shell.LMIExceptions.LMIMethodCallError

Raised, when an error occurs within method call.

exception lmi.shell.LMIExceptions.LMINamespaceNotFound(namespace, *args)

Raised, when trying to access not existing namespace from connection or namespace object.

Parameters:
  • namespace (string) – namespace which was not found
  • args – other positional arguments
exception lmi.shell.LMIExceptions.LMINoPagerError

Raised, when there is no default pager like less or more.

exception lmi.shell.LMIExceptions.LMINotSupported

Raised, when non-WSMAN method is about to be called.

exception lmi.shell.LMIExceptions.LMISynchroMethodCallError

Raised, when an error occurs within synchronized method call.

exception lmi.shell.LMIExceptions.LMISynchroMethodCallFilterError

Raised, when the LMIShell can not find necessary static filter for synchronous method call.

exception lmi.shell.LMIExceptions.LMIUnknownParameterError

Raised, when there is a method call issued and unknown method parameter is provided.

exception lmi.shell.LMIExceptions.LMIUnknownPropertyError

Raised, when there is an attempt to create instance with unknown property provided.