OverSim
|
A class representing an error. More...
#include <XmlRpcException.h>
Public Member Functions | |
XmlRpcException (const std::string &message, int code=-1) | |
Constructor. | |
const std::string & | getMessage () const |
Return the error message. | |
int | getCode () const |
Return the error code. |
Private Attributes | |
std::string | _message |
int | _code |
A class representing an error.
If server methods throw this exception, a fault response is returned to the client.
Definition at line 29 of file XmlRpcException.h.
|
inline |
Constructor.
message | A descriptive error message |
code | An integer error code |
Definition at line 34 of file XmlRpcException.h.
|
inline |
Return the error code.
Definition at line 41 of file XmlRpcException.h.
Referenced by XmlRpc::XmlRpcServer::executeMulticall(), and XmlRpc::XmlRpcServer::executeRequest().
|
inline |
Return the error message.
Definition at line 38 of file XmlRpcException.h.
Referenced by XmlRpc::XmlRpcServer::executeMulticall(), and XmlRpc::XmlRpcServer::executeRequest().
|
private |
Definition at line 45 of file XmlRpcException.h.
Referenced by getCode().
|
private |
Definition at line 44 of file XmlRpcException.h.
Referenced by getMessage().