#include <XmlRpcException.h>
Public Member Functions | |
XmlRpcException (const std::string &message, int code=-1) | |
const std::string & | getMessage () const |
Return the error message. | |
int | getCode () const |
Return the error code. | |
Private Attributes | |
std::string | _message |
int | _code |
Definition at line 21 of file XmlRpcException.h.
XmlRpc::XmlRpcException::XmlRpcException | ( | const std::string & | message, | |
int | code = -1 | |||
) | [inline] |
Constructor
message | A descriptive error message | |
code | An integer error code |
Definition at line 26 of file XmlRpcException.h.
int XmlRpc::XmlRpcException::getCode | ( | ) | const [inline] |
Return the error code.
Definition at line 33 of file XmlRpcException.h.
References _code.
Referenced by XmlRpc::XmlRpcServerConnection::executeMulticall(), and XmlRpc::XmlRpcServerConnection::executeRequest().
00033 { return _code; }
const std::string& XmlRpc::XmlRpcException::getMessage | ( | ) | const [inline] |
Return the error message.
Definition at line 30 of file XmlRpcException.h.
References _message.
Referenced by XmlRpc::XmlRpcServerConnection::executeMulticall(), and XmlRpc::XmlRpcServerConnection::executeRequest().
00030 { return _message; }
int XmlRpc::XmlRpcException::_code [private] |
std::string XmlRpc::XmlRpcException::_message [private] |