CIMOperationFailedException Class Reference
#include <ProviderException.h>
Inheritance diagram for CIMOperationFailedException:![]()
Public Member Functions
CIMOperationFailedException (const String &message) Public Member Functions inherited from CIMException
CIMException (CIMStatusCode code=CIM_ERR_SUCCESS, const String &message=String::EMPTY) CIMException (CIMStatusCode code, const String &message, const CIMInstance &instance) CIMException (CIMStatusCode code, const String &message, const Array< CIMInstance > &instances) CIMException (const CIMException &cimException) CIMException & operator= (const CIMException &cimException) virtual ~CIMException () CIMStatusCode getCode () const Public Member Functions inherited from Exception
Exception (const String &message) Exception (const Exception &exception) virtual ~Exception () Exception & operator= (const Exception &exception) virtual const String & getMessage () const
Protected Member Functions
CIMOperationFailedException (const CIMStatusCode code, const String &message) Protected Member Functions inherited from Exception
Exception ()
Additional Inherited Members
Protected Attributes inherited from Exception
ExceptionRep * _rep 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() [1/2]
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() [2/2]
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:
- /root/rpmbuild/BUILD/pegasus/src/Pegasus/Provider/ProviderException.h