CIMOperationFailedException Class Reference
#include <ProviderException.h>
Inheritance diagram for CIMOperationFailedException:![]()
Public Member Functions
CIMOperationFailedException (const String &message) Protected Member Functions
CIMOperationFailedException (const CIMStatusCode code, const String &message) Detailed Description
Base class for exceptions thrown by providers.
The
CIMOperationFailedException
class is an exception class, and is the base class from which exceptions that can be thrown by providers are derived. It may also be thrown directly by providers to signal a generic operation failure.Providers do not throw every possible exception that clients may receive from the CIM Server. The exceptions which may be thrown by providers are a subset of the possible exceptions, and are described in their respective sections.
All of the provider exceptions accept a
message
argument that allows the provider to send additional text in the string that will be returned to the client. While localization of text is not currently supported, it is recommended that text strings be structured in message catalogs to facilitate future localization.Constructor & Destructor Documentation
CIMOperationFailedException::CIMOperationFailedException ( const String & message ) Constructs a CIMOperationFailedException to indicate a generic operation failure. This exception corresponds to the CIM_ERR_FAILED status code.
- Parameters:
message A message String containing an error description
CIMOperationFailedException::CIMOperationFailedException ( const CIMStatusCode code, const String & message ) [protected]
Constructs a CIMOperationFailedException with a specified status code and error description.
- Parameters:
code A CIMStatusCode containing a DMTF defined status code specifying the type of the error message A message String containing an error description
The documentation for this class was generated from the following file:
- /var/tmp/axbld-24884/rpm/BUILD/pegasus/src/Pegasus/Provider/ProviderException.h