/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Utilities/JobInfoSvc/JobInfoSvc-00-00-02/xmlrpc++0.7/src/XmlRpcException.h

Go to the documentation of this file.
00001 
00002 #ifndef _XMLRPCEXCEPTION_H_
00003 #define _XMLRPCEXCEPTION_H_
00004 //
00005 // XmlRpc++ Copyright (c) 2002-2003 by Chris Morley
00006 //
00007 #if defined(_MSC_VER)
00008 # pragma warning(disable:4786)    // identifier was truncated in debug info
00009 #endif
00010 
00011 #ifndef MAKEDEPEND
00012 # include <string>
00013 #endif
00014 
00015 
00016 namespace XmlRpc {
00017 
00021   class XmlRpcException {
00022   public:
00026     XmlRpcException(const std::string& message, int code=-1) :
00027         _message(message), _code(code) {}
00028 
00030     const std::string& getMessage() const { return _message; }
00031 
00033     int getCode() const { return _code; }
00034 
00035   private:
00036     std::string _message;
00037     int _code;
00038   };
00039 
00040 }
00041 
00042 #endif  // _XMLRPCEXCEPTION_H_

Generated on Tue Nov 29 23:14:44 2016 for BOSS_7.0.2 by  doxygen 1.4.7