In file ../../src/Pegasus/Provider/ProviderException.h:

class PEGASUS_PROVIDER_LINKAGE CIMOperationFailedException

Parent class for exceptions thrown by providers.

Documentation

Parent class for exceptions thrown by providers.

The CIMOperationFailedException class is an exception class, and the parent 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.


Inheritance:


Public Methods

[more] CIMOperationFailedException (const String & message)
Generic operation failure.
[more] CIMOperationFailedException (const MessageLoaderParms & parms)
Experimental Interface

Protected Methods

[more] CIMOperationFailedException (const CIMStatusCode code, const MessageLoaderParms & parms)
Experimental Interface


Inherited from CIMException:

Public Methods

oCIMException& operator=(const CIMException & cimException)
oCIMStatusCode getCode() const


Inherited from Exception:

Public Methods

ovirtual const String& getMessage() const
oconst ContentLanguages& getContentLanguages() const
ovoid setContentLanguages(const ContentLanguages& langs)

o CIMOperationFailedException(const String & message)
Generic operation failure.

This exception will cause a CIM_ERR_FAILED status code to be returned to the client.

o CIMOperationFailedException(const MessageLoaderParms & parms)
Experimental Interface

o CIMOperationFailedException(const CIMStatusCode code, const MessageLoaderParms & parms)
Experimental Interface


Direct child classes:
CIMPropertyNotFoundException
CIMObjectNotFoundException
CIMObjectAlreadyExistsException
CIMNotSupportedException
CIMMethodNotFoundException
CIMInvalidQueryException
CIMInvalidParameterException
CIMInvalidClassException
CIMAccessDeniedException

Alphabetic index HTML hierarchy of classes or Java