version 1.68, 2003/03/12 21:02:53
|
version 1.68.6.3, 2003/08/13 19:39:50
|
|
|
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/CIMStatusCode.h> | #include <Pegasus/Common/CIMStatusCode.h> |
|
#include <Pegasus/Common/MessageLoader.h> // l10n |
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
|
#include <Pegasus/Common/ContentLanguages.h> // l10n |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
|
|
class ExceptionRep; | class ExceptionRep; |
| |
/** | /** |
|
|
/// | /// |
Exception(const Exception& exception); | Exception(const Exception& exception); |
| |
|
// l10n |
|
Exception(const MessageLoaderParms& msgParms); |
|
|
/// | /// |
virtual ~Exception(); | virtual ~Exception(); |
| |
/// | /// |
virtual const String& getMessage() const; | virtual const String& getMessage() const; |
| |
|
// l10n |
|
virtual const ContentLanguages& getContentLanguages() const; |
|
|
|
virtual void setContentLanguages(const ContentLanguages& langs); |
|
|
protected: | protected: |
| |
Exception(); | Exception(); |
|
|
public: | public: |
/// | /// |
AlreadyExistsException(const String& message); | AlreadyExistsException(const String& message); |
|
AlreadyExistsException(MessageLoaderParms& msgParms); |
}; | }; |
| |
/// | /// |
|
|
public: | public: |
/// | /// |
InvalidNameException(const String& name); | InvalidNameException(const String& name); |
|
InvalidNameException(MessageLoaderParms& msgParms); |
}; | }; |
| |
/// | /// |
|
|
public: | public: |
/// | /// |
InvalidNamespaceNameException(const String& name); | InvalidNamespaceNameException(const String& name); |
|
InvalidNamespaceNameException(MessageLoaderParms& msgParms); |
}; | }; |
| |
/// | /// |
|
|
public: | public: |
/// | /// |
MalformedObjectNameException(const String& objectName); | MalformedObjectNameException(const String& objectName); |
|
MalformedObjectNameException(MessageLoaderParms& msgParms); |
}; | }; |
| |
/// | /// |
|
|
public: | public: |
/// | /// |
BindFailedException(const String& message); | BindFailedException(const String& message); |
|
BindFailedException(MessageLoaderParms& msgParms); |
}; | }; |
| |
/// | /// |
|
|
public: | public: |
/// | /// |
InvalidLocatorException(const String& locator); | InvalidLocatorException(const String& locator); |
|
InvalidLocatorException(MessageLoaderParms& msgParms); |
}; | }; |
| |
/// | /// |
|
|
public: | public: |
/// | /// |
CannotConnectException(const String& message); | CannotConnectException(const String& message); |
|
CannotConnectException(MessageLoaderParms& msgParms); |
}; | }; |
| |
/// | /// |
|
|
public: | public: |
/// | /// |
SSLException(const String& message); | SSLException(const String& message); |
|
SSLException(MessageLoaderParms& msgParms); |
}; | }; |
| |
/// | /// |
|
|
public: | public: |
/// | /// |
DateTimeOutOfRangeException(const String& message); | DateTimeOutOfRangeException(const String& message); |
|
DateTimeOutOfRangeException(MessageLoaderParms& msgParms); |
}; | }; |
| |
/** The CIMException defines the CIM exceptions that are formally defined in | /** The CIMException defines the CIM exceptions that are formally defined in |
|
|
CIMStatusCode code = CIM_ERR_SUCCESS, | CIMStatusCode code = CIM_ERR_SUCCESS, |
const String& message = String::EMPTY); | const String& message = String::EMPTY); |
| |
|
// l10n |
|
CIMException( |
|
CIMStatusCode code, |
|
const MessageLoaderParms& msgParms); |
|
|
/// | /// |
CIMException(const CIMException & cimException); | CIMException(const CIMException & cimException); |
| |