Exceptions

The C# CimFramework detects a number of errors. This is especially important when the framework is used for untyped applications as there are more possibilities for runtime errors. The framework has three exception classes.

CimException

For C# implementations, this class inherits from Exception. If this exception occurs, it is due to a logical error in the framework usage.

CimPropertyException

This class inherits from CimException. This exception is thrown when there is an attempt to access a non-existent property in an object.

WSManException

For C# implementations, this class inherits from WebException. This exception represents a WS-Management error, and contains the WS-Management fault information.

These exceptions, along with others that are defined in the C# standard library, are thrown whenever an error occurs.

Copyright © 2006-2022, Intel Corporation. All rights reserved.