version 1.82, 2006/05/09 17:41:41
|
version 1.83, 2006/08/15 18:56:08
|
|
|
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
#include <Pegasus/Common/ContentLanguageList.h> | #include <Pegasus/Common/ContentLanguageList.h> |
| |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
#ifdef PEGASUS_INTERNALONLY |
# include <Pegasus/Common/MessageLoader.h> | # include <Pegasus/Common/MessageLoader.h> |
#endif | #endif |
| |
|
|
/// | /// |
Exception(const Exception& exception); | Exception(const Exception& exception); |
| |
// l10n |
#ifdef PEGASUS_INTERNALONLY |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
/** <I><B>Experimental Interface</B></I><BR> |
|
*/ |
|
Exception(const MessageLoaderParms& msgParms); | Exception(const MessageLoaderParms& msgParms); |
#endif | #endif |
| |
|
|
/// | /// |
virtual const String& getMessage() const; | virtual const String& getMessage() const; |
| |
// l10n |
#ifdef PEGASUS_INTERNALONLY |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
// Note: Not virtual to preserve binary compatibility. |
// Note: Rlse 2.3 - not virtual to preserve binary compatibility. |
|
/** <I><B>Experimental Interface</B></I><BR> |
|
*/ |
|
const ContentLanguageList& getContentLanguages() const; | const ContentLanguageList& getContentLanguages() const; |
| |
// Note: Rlse 2.3 - not virtual to preserve binary compatibility. |
// Not virtual to preserve binary compatibility. |
/** <I><B>Experimental Interface</B></I><BR> |
|
*/ |
|
void setContentLanguages(const ContentLanguageList& langs); | void setContentLanguages(const ContentLanguageList& langs); |
#endif | #endif |
| |
|
|
public: | public: |
/// | /// |
AlreadyExistsException(const String& message); | AlreadyExistsException(const String& message); |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
/** <I><B>Experimental Interface</B></I><BR> |
#ifdef PEGASUS_INTERNALONLY |
*/ |
|
AlreadyExistsException(MessageLoaderParms& msgParms); | AlreadyExistsException(MessageLoaderParms& msgParms); |
#endif | #endif |
}; | }; |
|
|
public: | public: |
/// | /// |
InvalidNameException(const String& name); | InvalidNameException(const String& name); |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
/** <I><B>Experimental Interface</B></I><BR> |
#ifdef PEGASUS_INTERNALONLY |
*/ |
|
InvalidNameException(MessageLoaderParms& msgParms); | InvalidNameException(MessageLoaderParms& msgParms); |
#endif | #endif |
}; | }; |
|
|
public: | public: |
/// | /// |
InvalidNamespaceNameException(const String& name); | InvalidNamespaceNameException(const String& name); |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
/** <I><B>Experimental Interface</B></I><BR> |
#ifdef PEGASUS_INTERNALONLY |
*/ |
|
InvalidNamespaceNameException(MessageLoaderParms& msgParms); | InvalidNamespaceNameException(MessageLoaderParms& msgParms); |
#endif | #endif |
}; | }; |
|
|
/// | /// |
TypeMismatchException(); | TypeMismatchException(); |
TypeMismatchException(const String& message); | TypeMismatchException(const String& message); |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
/** <I><B>Experimental Interface</B></I><BR> |
#ifdef PEGASUS_INTERNALONLY |
*/ |
|
TypeMismatchException(MessageLoaderParms& msgParms); | TypeMismatchException(MessageLoaderParms& msgParms); |
#endif | #endif |
| |
|
|
public: | public: |
/// | /// |
MalformedObjectNameException(const String& objectName); | MalformedObjectNameException(const String& objectName); |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
/** <I><B>Experimental Interface</B></I><BR> |
#ifdef PEGASUS_INTERNALONLY |
*/ |
|
MalformedObjectNameException(MessageLoaderParms& msgParms); | MalformedObjectNameException(MessageLoaderParms& msgParms); |
#endif | #endif |
}; | }; |
|
|
public: | public: |
/// | /// |
BindFailedException(const String& message); | BindFailedException(const String& message); |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
/** <I><B>Experimental Interface</B></I><BR> |
#ifdef PEGASUS_INTERNALONLY |
*/ |
|
BindFailedException(MessageLoaderParms& msgParms); | BindFailedException(MessageLoaderParms& msgParms); |
#endif | #endif |
}; | }; |
|
|
public: | public: |
/// | /// |
InvalidLocatorException(const String& locator); | InvalidLocatorException(const String& locator); |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
/** <I><B>Experimental Interface</B></I><BR> |
#ifdef PEGASUS_INTERNALONLY |
*/ |
|
InvalidLocatorException(MessageLoaderParms& msgParms); | InvalidLocatorException(MessageLoaderParms& msgParms); |
#endif | #endif |
}; | }; |
|
|
public: | public: |
/// | /// |
CannotConnectException(const String& message); | CannotConnectException(const String& message); |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
/** <I><B>Experimental Interface</B></I><BR> |
#ifdef PEGASUS_INTERNALONLY |
*/ |
|
CannotConnectException(MessageLoaderParms& msgParms); | CannotConnectException(MessageLoaderParms& msgParms); |
#endif | #endif |
}; | }; |
|
|
public: | public: |
/// | /// |
SSLException(const String& message); | SSLException(const String& message); |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
/** <I><B>Experimental Interface</B></I><BR> |
#ifdef PEGASUS_INTERNALONLY |
*/ |
|
SSLException(MessageLoaderParms& msgParms); | SSLException(MessageLoaderParms& msgParms); |
#endif | #endif |
}; | }; |
|
|
public: | public: |
/// | /// |
DateTimeOutOfRangeException(const String& message); | DateTimeOutOfRangeException(const String& message); |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
/** <I><B>Experimental Interface</B></I><BR> |
#ifdef PEGASUS_INTERNALONLY |
*/ |
|
DateTimeOutOfRangeException(MessageLoaderParms& msgParms); | DateTimeOutOfRangeException(MessageLoaderParms& msgParms); |
#endif | #endif |
}; | }; |
|
|
CIMStatusCode code = CIM_ERR_SUCCESS, | CIMStatusCode code = CIM_ERR_SUCCESS, |
const String& message = String::EMPTY); | const String& message = String::EMPTY); |
| |
// l10n |
#ifdef PEGASUS_INTERNALONLY |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
/** <I><B>Experimental Interface</B></I><BR> |
|
*/ |
|
CIMException( | CIMException( |
CIMStatusCode code, | CIMStatusCode code, |
const MessageLoaderParms& msgParms); | const MessageLoaderParms& msgParms); |