#include <ulxr_except.h>
Inheritance diagram for ulxr::Exception:
Public Member Functions | |
Exception (int fc, const CppString &s) | |
Constructs an exception. | |
virtual | ~Exception () throw () |
Destroys the exception. | |
virtual CppString | why () const |
Gets the reason for the exception. | |
virtual int | getFaultCode () const |
Gets a number representing the error. | |
Private Attributes | |
CppString | reason |
int | faultcode |
Definition at line 44 of file ulxr_except.h.
ulxr::Exception::Exception | ( | int | fc, | |
const CppString & | s | |||
) |
Constructs an exception.
fc | number representing the error class | |
s | the reason for the exception |
Definition at line 38 of file ulxr_except.cpp.
References ULXR_DOUT.
ulxr::Exception::~Exception | ( | ) | throw () [virtual] |
CppString ulxr::Exception::why | ( | ) | const [virtual] |
Gets the reason for the exception.
Reimplemented in funtik::SSLConnectionException.
Definition at line 54 of file ulxr_except.cpp.
Referenced by ulxr::Dispatcher::dispatchCall(), ulxr::HttpServer::performHttpTransaction(), ulxr::HttpServer::runPicoHttpd(), and ulxr::MultiThreadRpcServer::serverLoop().
int ulxr::Exception::getFaultCode | ( | ) | const [virtual] |
Gets a number representing the error.
Definition at line 71 of file ulxr_except.cpp.
Referenced by ulxr::Dispatcher::dispatchCall().
CppString ulxr::Exception::reason [private] |
Definition at line 83 of file ulxr_except.h.
int ulxr::Exception::faultcode [private] |
Definition at line 84 of file ulxr_except.h.