OW_NAMESPACE::HTTPException Class Reference

#include <OW_HTTPException.hpp>

Inheritance diagram for OW_NAMESPACE::HTTPException:

Inheritance graph
[legend]
Collaboration diagram for OW_NAMESPACE::HTTPException:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HTTPException (const char *file, int line, const char *msg)
 HTTPException (const char *file, int line, const char *msg, int response)
virtual ~HTTPException () throw ()
const char * getId ()
int getErrorCode ()
virtual const char * type () const
 Returns a string representing the concrete type.
virtual HTTPExceptionclone () const throw ()
 Make a copy of this exception object.

Private Attributes

int m_response

Detailed Description

Definition at line 46 of file OW_HTTPException.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::HTTPException::HTTPException const char *  file,
int  line,
const char *  msg
 

Definition at line 43 of file OW_HTTPException.cpp.

Referenced by clone().

OW_NAMESPACE::HTTPException::HTTPException const char *  file,
int  line,
const char *  msg,
int  response
 

Definition at line 48 of file OW_HTTPException.cpp.

OW_NAMESPACE::HTTPException::~HTTPException  )  throw () [virtual]
 

Definition at line 53 of file OW_HTTPException.cpp.


Member Function Documentation

HTTPException * OW_NAMESPACE::HTTPException::clone  )  const throw () [virtual]
 

Make a copy of this exception object.

If allocation fails, return 0. Subclasses need to override this function. This function must not throw. Here is an example of how to implement this in a derived class:

virtual DerivedException* clone() const { return new(std::nothrow) DerivedException(*this); }

Reimplemented from OW_NAMESPACE::Exception.

Definition at line 76 of file OW_HTTPException.cpp.

References HTTPException().

int OW_NAMESPACE::HTTPException::getErrorCode  ) 
 

Definition at line 64 of file OW_HTTPException.cpp.

References m_response.

const char * OW_NAMESPACE::HTTPException::getId  ) 
 

Definition at line 58 of file OW_HTTPException.cpp.

References OW_NAMESPACE::Exception::getMessage().

const char * OW_NAMESPACE::HTTPException::type  )  const [virtual]
 

Returns a string representing the concrete type.

e.g. "SocketException". Will not return 0. This function will not throw. Derived class implementations must not throw.

Reimplemented from OW_NAMESPACE::Exception.

Definition at line 70 of file OW_HTTPException.cpp.


Member Data Documentation

int OW_NAMESPACE::HTTPException::m_response [private]
 

Definition at line 57 of file OW_HTTPException.hpp.

Referenced by getErrorCode().


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:15:05 2006 for openwbem by  doxygen 1.4.6