version 1.18, 2008/02/12 19:19:31
|
version 1.19, 2008/06/26 17:44:47
|
|
|
: public Exception | : public Exception |
{ | { |
public: | public: |
/// |
/** |
|
Constructs a CIMClientMalformedHTTPException with a specified message. |
|
@param message The exception message |
|
*/ |
CIMClientMalformedHTTPException(const String& message); | CIMClientMalformedHTTPException(const String& message); |
}; | }; |
| |
|
|
class PEGASUS_CLIENT_LINKAGE CIMClientHTTPErrorException : public Exception | class PEGASUS_CLIENT_LINKAGE CIMClientHTTPErrorException : public Exception |
{ | { |
public: | public: |
/// |
/** |
|
Constructs a CIMClientHTTPErrorException with specified error details. |
|
@param httpStatusCode The HTTP status code in the response |
|
@param reasonPhrase The HTTP reason phrase in the response |
|
@param cimError The CIMError header value in the HTTP response |
|
@param cimErrorDetail Additional error detail information, if available |
|
*/ |
CIMClientHTTPErrorException( | CIMClientHTTPErrorException( |
Uint32 httpStatusCode, | Uint32 httpStatusCode, |
const String& reasonPhrase, | const String& reasonPhrase, |
const String& cimError, | const String& cimError, |
const String& cimErrorDetail); | const String& cimErrorDetail); |
/// |
|
|
/** |
|
Constructs a CIMClientHTTPErrorException with specified error details. |
|
@param httpStatusCode The HTTP status code in the response |
|
@param cimError The CIMError header value in the HTTP response |
|
@param cimErrorDetail Additional error detail information, if available |
|
*/ |
CIMClientHTTPErrorException( | CIMClientHTTPErrorException( |
Uint32 httpStatusCode, | Uint32 httpStatusCode, |
const String& cimError, | const String& cimError, |
const String& cimErrorDetail); | const String& cimErrorDetail); |
/// |
|
|
/** |
|
Constructs a copy of an CIMClientHTTPErrorException. |
|
@param httpError The object to copy |
|
*/ |
CIMClientHTTPErrorException(const CIMClientHTTPErrorException& httpError); | CIMClientHTTPErrorException(const CIMClientHTTPErrorException& httpError); |
/// |
|
|
/** |
|
Destructs an CIMClientHTTPErrorException. |
|
*/ |
virtual ~CIMClientHTTPErrorException(); | virtual ~CIMClientHTTPErrorException(); |
| |
/// |
/** |
|
Copies an CIMClientHTTPErrorException. |
|
@param httpError The object to copy |
|
*/ |
CIMClientHTTPErrorException& operator=( | CIMClientHTTPErrorException& operator=( |
const CIMClientHTTPErrorException& httpError); | const CIMClientHTTPErrorException& httpError); |
| |
/// |
/** |
|
Gets the HTTP status code from the error response. |
|
@return An integer HTTP status code |
|
*/ |
Uint32 getCode() const; | Uint32 getCode() const; |
/// |
|
|
/** |
|
Gets the CIMError header value from the HTTP error response. |
|
@return A String containing the CIMError header value |
|
*/ |
String getCIMError() const; | String getCIMError() const; |
/// |
|
|
/** |
|
Gets additional error detail information from the HTTP error response. |
|
@return A String containing additional error detail information from |
|
the HTTP error response, if available. Otherwise, an empty String |
|
is returned. |
|
*/ |
String getCIMErrorDetail() const; | String getCIMErrorDetail() const; |
}; | }; |
| |
|
|
class PEGASUS_CLIENT_LINKAGE CIMClientXmlException : public Exception | class PEGASUS_CLIENT_LINKAGE CIMClientXmlException : public Exception |
{ | { |
public: | public: |
/// |
/** |
|
Constructs a CIMClientXmlException with a specified message. |
|
@param message The exception message |
|
*/ |
CIMClientXmlException(const String& message); | CIMClientXmlException(const String& message); |
}; | }; |
| |
|
|
: public Exception | : public Exception |
{ | { |
public: | public: |
/// |
/** |
|
Constructs a CIMClientResponseException with a specified message. |
|
@param message The exception message |
|
*/ |
CIMClientResponseException(const String& message); | CIMClientResponseException(const String& message); |
}; | }; |
| |