#include <OW_HTTPException.hpp>
Inheritance diagram for OW_NAMESPACE::HTTPException:
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 HTTPException * | clone () const throw () |
Make a copy of this exception object. | |
Private Attributes | |
int | m_response |
Definition at line 46 of file OW_HTTPException.hpp.
|
Definition at line 43 of file OW_HTTPException.cpp. Referenced by clone(). |
|
Definition at line 48 of file OW_HTTPException.cpp. |
|
Definition at line 53 of file OW_HTTPException.cpp. |
|
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(). |
|
Definition at line 64 of file OW_HTTPException.cpp. References m_response. |
|
Definition at line 58 of file OW_HTTPException.cpp. References OW_NAMESPACE::Exception::getMessage(). |
|
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. |
|
Definition at line 57 of file OW_HTTPException.hpp. Referenced by getErrorCode(). |