4.7. Warnings¶
The following warnings are pywbem specific warnings that can be issued by the WBEM client library.
-
class
pywbem.
Warning
(*args, **kwargs)[source]¶ Base class for pywbem specific warnings.
Parameters: - conn_id (connection id) – Must be a keyword argument. Connection ID of the connection in whose context the error happened. Omitted or None if the error did not happen in context of any connection, or if the connection context was not known.
- *args – Any other positional arguments are passed to
Exception
. - **kwargs – Any other keyword arguments are passed to
Exception
.
Methods
Attributes
args
conn_id
connection id – Connection ID of the connection in whose context the error happened. conn_str
unicode string – String that identifies the connection in exception messages. message
Details
-
class
pywbem.
ToleratedServerIssueWarning
(*args, **kwargs)[source]¶ This warning indicates an issue with the WBEM server that has been tolerated by pywbem.
Parameters: - conn_id (connection id) – Must be a keyword argument. Connection ID of the connection in whose context the error happened. Omitted or None if the error did not happen in context of any connection, or if the connection context was not known.
- *args – Any other positional arguments are passed to
Exception
. - **kwargs – Any other keyword arguments are passed to
Exception
.
Methods
Attributes
args
conn_id
connection id – Connection ID of the connection in whose context the error happened. conn_str
unicode string – String that identifies the connection in exception messages. message
Details