[an error occurred while processing this directive]
[an error occurred while processing this directive] [an error occurred while processing this directive]

Pegasus CIM Object Broker Documentation

[an error occurred while processing this directive]


[an error occurred while processing this directive]

 

Contents

o Introduction
o Objectives
o Overview
o Credits
o Pegasus Architecture
   o Design Goals
   o The Broker
   o Pegasus Providers.
   o Extension Services
   o Pegasus Clients.
   o Functional Flow
o Pegasus Components
   o Component Descriptions
   o Pegasus Directory Structure
o Pegasus Utilization
   o Pegasus Availability
   o Pegasus Installation
   o Pegasus Operation
   o Pegasus CIM Clients
   o Pegasus Providers
   o Pegasus MOF Compiler
o Programming Pegasus
   o CIM Objects in Pegasus
   o CIM Object Table
   o Class Definitions
o Pegasus Interfaces
   o CIM Operations over HTTP
   o Pegasus Client Interfaces
   o Pegasus Provider Interfaces
   o Pegasus Service Extension Interfaces
   o Repository Interfaces
o Writing Providers.
o Glossary
o Pegasus Code Examples
   o Client Examples
   o Client Coding Examples
   o Provider Coding Examples
o Document References
o Pegausus FAQ
o
In file ../../src/Pegasus/Provider/ProviderException.h:

class PEGASUS_PROVIDER_LINKAGE CIMOperationFailedException

Base class for exceptions thrown by providers.

Documentation

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.


Inheritance:


Public Methods

[more] CIMOperationFailedException (const String& message)
Constructs a CIMOperationFailedException to indicate a generic operation failure.

Protected Methods

[more] CIMOperationFailedException ( const CIMStatusCode code, const String& message)
Constructs a CIMOperationFailedException with a specified status code and error description.


Inherited from CIMException:

Public Methods

oCIMException& operator=(const CIMException& cimException)
oCIMStatusCode getCode() const
oUint32 getErrorCount() const
oCIMConstInstance getError(Uint32 index) const
ovoid addError(const CIMInstance& instance)


Inherited from Exception:

Public Methods

ovirtual const String& getMessage() const

Protected Fields

oExceptionRep* _rep

o 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

o CIMOperationFailedException( const CIMStatusCode code, const String& message)
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


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

Alphabetic index HTML hierarchy of classes or Java


[an error occurred while processing this directive]