#include <Exception.h>
List of all members.
Detailed Description
The CIMException class models an error response to a CIM operation.
Constructor & Destructor Documentation
Constructs a CIMException with a status code and error description message.
- Parameters:
-
code | A CIMStatusCode containing a DMTF defined status code specifying the type of the error |
message | A message String containing a more specific description of the error |
Constructs a CIMException with a status code, error description message, and a CIM_Error instance attached to the exception.
- Parameters:
-
code | A CIMStatusCode containing a DMTF defined status code specifying the type of the error |
message | A message String containing a more specific description of the error |
instance | A CIMInstance containing the CIM_Error instance to be added to the CIMException. This instance is NOT validated for type correctness nor correlation with the specified status code and error description. |
Constructs a CIMException with a status code, error description message, and an Array of CIM_Error instances attached to the exception.
- Parameters:
-
code | A CIMStatusCode containing a DMTF defined status code specifying the type of the error |
message | A message String containing a more specific description of the error |
instances | An Array of CIMInstance objects containing the CIM_Error instances to be added to the CIMException. These instances are NOT validated for type correctness nor correlation with the specified status code and error description. |
Member Function Documentation
Gets the CIMStatusCode for the current CIMException. This is the code that defines the ERROR that was executed and transmitted to the Client.
- Returns:
- a single CIMStatusCode
Assigns the value from a specified CIMException object.
- Parameters:
-
- Returns:
- A reference to this CIMException object with the new assignment
The documentation for this class was generated from the following file:
- /var/tmp/tog-pegasus-2.9.0-8m.mo8/pegasus/src/Pegasus/Common/Exception.h