#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 |
If server methods throw this exception, a fault response is returned to the client.
Definition at line 29 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 34 of file XmlRpcException.h.
| int XmlRpc::XmlRpcException::getCode | ( | ) | const [inline] |
Return the error code.
Definition at line 41 of file XmlRpcException.h.
Referenced by XmlRpc::XmlRpcServer::executeMulticall(), and XmlRpc::XmlRpcServer::executeRequest().
00041 { return _code; }
| const std::string& XmlRpc::XmlRpcException::getMessage | ( | ) | const [inline] |
Return the error message.
Definition at line 38 of file XmlRpcException.h.
Referenced by XmlRpc::XmlRpcServer::executeMulticall(), and XmlRpc::XmlRpcServer::executeRequest().
00038 { return _message; }
int XmlRpc::XmlRpcException::_code [private] |
std::string XmlRpc::XmlRpcException::_message [private] |
1.5.8