#include <XmlRpcException.h>
Public Member Functions | |
int | getCode () const |
Return the error code. More... | |
const std::string & | getMessage () const |
Return the error message. More... | |
XmlRpcException (const std::string &message, int code=-1) | |
Private Attributes | |
int | _code |
std::string | _message |
A class representing an error. If server methods throw this exception, a fault response is returned to the client.
Definition at line 23 of file XmlRpcException.h.
|
inline |
Constructor
message | A descriptive error message |
code | An integer error code |
Definition at line 28 of file XmlRpcException.h.
|
inline |
Return the error code.
Definition at line 35 of file XmlRpcException.h.
|
inline |
Return the error message.
Definition at line 32 of file XmlRpcException.h.
|
private |
Definition at line 39 of file XmlRpcException.h.
|
private |
Definition at line 38 of file XmlRpcException.h.