OverSim
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
XmlRpcException.h
Go to the documentation of this file.
1
2
3
4
#ifndef _XMLRPCEXCEPTION_H_
5
#define _XMLRPCEXCEPTION_H_
6
//
7
// XmlRpc++ Copyright (c) 2002-2003 by Chris Morley
8
//
9
15
#if defined(_MSC_VER)
16
# pragma warning(disable:4786) // identifier was truncated in debug info
17
#endif
18
19
#ifndef MAKEDEPEND
20
# include <string>
21
#endif
22
23
24
namespace
XmlRpc {
25
29
class
XmlRpcException
{
30
public
:
34
XmlRpcException
(
const
std::string& message,
int
code=-1) :
35
_message
(message),
_code
(code) {}
36
38
const
std::string&
getMessage
()
const
{
return
_message
; }
39
41
int
getCode
()
const
{
return
_code
; }
42
43
private
:
44
std::string
_message
;
45
int
_code
;
46
};
47
48
}
49
50
#endif // _XMLRPCEXCEPTION_H_
src
tier3
xmlrpcinterface
xmlrpc++
XmlRpcException.h
Generated on Fri Dec 7 2012 13:37:53 for OverSim by
1.8.1.2