OWBI1_CIMException.hpp File Reference

#include "OWBI1_config.h"
#include "OWBI1_Exception.hpp"

Include dependency graph for OWBI1_CIMException.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  OWBI1

Classes

class  OWBI1::CIMException

Defines

#define OWBI1_THROWCIM(errval)   throw CIMException(__FILE__, __LINE__, (errval))
 Throw a CIMException with error code errval.
#define OWBI1_THROWCIM_SUBEX(errval, subex)   throw CIMException(__FILE__, __LINE__, (errval), (subex).getMessage(), &(subex))
 Throw a CIMException with error code errval, and a subexception.
#define OWBI1_THROWCIMMSG(errval, msg)   throw CIMException(__FILE__, __LINE__, (errval), (msg))
 Throw a CIMException with error code errval and a message.
#define OWBI1_THROWCIMMSG_SUBEX(errval, msg, subex)   throw CIMException(__FILE__, __LINE__, (errval), (msg), &(subex))
 Throw a CIMException with error code errval, a message and a subexception.


Define Documentation

#define OWBI1_THROWCIM errval   )     throw CIMException(__FILE__, __LINE__, (errval))
 

Throw a CIMException with error code errval.

Consider providing a message and using OWBI1_THROWCIMMSG instead of this macro.

Parameters:
errval One of the CIMException::ErrNoType enumerated values

Definition at line 134 of file OWBI1_CIMException.hpp.

Referenced by OWBI1::CIMOMHandleIFC::exportIndication().

#define OWBI1_THROWCIM_SUBEX errval,
subex   )     throw CIMException(__FILE__, __LINE__, (errval), (subex).getMessage(), &(subex))
 

Throw a CIMException with error code errval, and a subexception.

subex.getMessage() will be used as the message for this exception

Parameters:
errval One of the CIMException::ErrNoType enumerated values
subex A sub-exception. A pointer to it will be passed to the exception constructor, which should clone() it.

Definition at line 144 of file OWBI1_CIMException.hpp.

#define OWBI1_THROWCIMMSG errval,
msg   )     throw CIMException(__FILE__, __LINE__, (errval), (msg))
 

Throw a CIMException with error code errval and a message.

Parameters:
errval One of the CIMException::ErrNoType enumerated values
msg A message associated with the exception

Definition at line 152 of file OWBI1_CIMException.hpp.

Referenced by OWBI1::BI1ReadOnlyInstanceProviderIFC::createInstance(), OWBI1::BI1ReadOnlyInstanceProviderIFC::deleteInstance(), OWBI1::BI1SimpleInstanceProviderIFC::getInstance(), and OWBI1::BI1ReadOnlyInstanceProviderIFC::modifyInstance().

#define OWBI1_THROWCIMMSG_SUBEX errval,
msg,
subex   )     throw CIMException(__FILE__, __LINE__, (errval), (msg), &(subex))
 

Throw a CIMException with error code errval, a message and a subexception.

Parameters:
errval One of the CIMException::ErrNoType enumerated values
msg A message associated with the exception
subex A sub-exception. A pointer to it will be passed to the exception constructor, which should clone() it.

Definition at line 162 of file OWBI1_CIMException.hpp.


Generated on Thu Feb 9 09:08:49 2006 for openwbem by  doxygen 1.4.6