CIMClientHTTPErrorException Class Reference
#include <CIMClientException.h>
List of all members.
Detailed Description
An exception of this type indicates that an HTTP error response was sent by the CIM Server.
Constructor & Destructor Documentation
CIMClientHTTPErrorException::CIMClientHTTPErrorException |
( |
Uint32 |
httpStatusCode, |
|
|
const String & |
reasonPhrase, |
|
|
const String & |
cimError, |
|
|
const String & |
cimErrorDetail | |
|
) |
| | |
Constructs a CIMClientHTTPErrorException with specified error details.
- Parameters:
-
| httpStatusCode | The HTTP status code in the response |
| reasonPhrase | The HTTP reason phrase in the response |
| cimError | The CIMError header value in the HTTP response |
| cimErrorDetail | Additional error detail information, if available |
CIMClientHTTPErrorException::CIMClientHTTPErrorException |
( |
Uint32 |
httpStatusCode, |
|
|
const String & |
cimError, |
|
|
const String & |
cimErrorDetail | |
|
) |
| | |
Constructs a CIMClientHTTPErrorException with specified error details.
- Parameters:
-
| httpStatusCode | The HTTP status code in the response |
| cimError | The CIMError header value in the HTTP response |
| cimErrorDetail | Additional error detail information, if available |
virtual CIMClientHTTPErrorException::~CIMClientHTTPErrorException |
( |
|
) |
[virtual] |
Member Function Documentation
String CIMClientHTTPErrorException::getCIMError |
( |
|
) |
const |
Gets the CIMError header value from the HTTP error response.
- Returns:
- A String containing the CIMError header value
String CIMClientHTTPErrorException::getCIMErrorDetail |
( |
|
) |
const |
Gets additional error detail information from the HTTP error response.
- Returns:
- A String containing additional error detail information from the HTTP error response, if available. Otherwise, an empty String is returned.
Uint32 CIMClientHTTPErrorException::getCode |
( |
|
) |
const |
Gets the HTTP status code from the error response.
- Returns:
- An integer HTTP status code
The documentation for this class was generated from the following file: