ulxr::Exception Class Reference
[General helper classes]

Base class for XML RPC exceptions. More...

#include <ulxr_except.h>

Inheritance diagram for ulxr::Exception:

Inheritance graph
List of all members.

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

Detailed Description

Base class for XML RPC exceptions.

Definition at line 44 of file ulxr_except.h.

Constructor & Destructor Documentation

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]

Destroys the exception.

Definition at line 49 of file ulxr_except.cpp.

Member Function Documentation

CppString ulxr::Exception::why (  )  const [virtual]

Gets the reason for the exception.

the reason

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.

the fault code

Definition at line 71 of file ulxr_except.cpp.

Referenced by ulxr::Dispatcher::dispatchCall().

Member Data Documentation

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.

The documentation for this class was generated from the following files:
Generated on Sun Aug 19 20:09:02 2007 for ulxmlrpcpp by  doxygen 1.5.1