#define DECL_XMLTOOLING_EXCEPTION(type) \\r
class XMLTOOL_EXCEPTIONAPI(XMLTOOL_API) type : public XMLToolingException { \\r
public: \\r
- type(const char* msg) : XMLToolingException(msg) {} \\r
- type(std::string& msg) : XMLToolingException(msg) {} \\r
+ type(const char* const msg) : XMLToolingException(msg) {} \\r
+ type(const std::string& msg) : XMLToolingException(msg) {} \\r
virtual ~type() {} \\r
}\r
\r
};\r
\r
DECL_XMLTOOLING_EXCEPTION(XMLParserException);\r
+ DECL_XMLTOOLING_EXCEPTION(XMLObjectException);\r
\r
};\r
\r