Initial DOM handling interfaces.
[shibboleth/xmltooling.git] / xmltooling / exceptions.h
index a5d7727..dcfc84e 100644 (file)
@@ -29,8 +29,8 @@
 #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
@@ -54,6 +54,7 @@ namespace xmltooling {
     };\r
 \r
     DECL_XMLTOOLING_EXCEPTION(XMLParserException);\r
+    DECL_XMLTOOLING_EXCEPTION(XMLObjectException);\r
 \r
 };\r
 \r