Fix exception throw signatures
authorScott Cantor <cantor.2@osu.edu>
Tue, 26 Dec 2006 02:23:02 +0000 (02:23 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 26 Dec 2006 02:23:02 +0000 (02:23 +0000)
xmltooling/exceptions.h
xmltooling/signature/impl/KeyInfoImpl.cpp

index 14fbdab..a3db619 100644 (file)
@@ -50,7 +50,7 @@
         name(const std::string& msg, const xmltooling::params& p=xmltooling::params()) : base(msg,p) {} \
         XMLTOOLING_DOXYGEN(Constructor) \
         name(const std::string& msg, const xmltooling::namedparams& p) : base(msg,p) {} \
-        virtual ~name() {} \
+        virtual ~name() throw () {} \
         virtual const char* getClassName() const { return #ns"::"#name; } \
         void raise() const {throw *this;} \
     }
@@ -139,7 +139,7 @@ namespace xmltooling {
     class XMLTOOL_EXCEPTIONAPI(XMLTOOL_API) XMLToolingException : public std::exception
     {
     public:
-        virtual ~XMLToolingException() {}
+        virtual ~XMLToolingException() throw () {}
 
         /**
          * Constructs an exception using a message and positional parameters.
@@ -185,7 +185,7 @@ namespace xmltooling {
          * 
          * @return  the processed message
          */
-        const char* what() const {return getMessage();}
+        const char* what() const throw () {return getMessage();}
 
         /**
          * Sets the error message.
index f89eb98..68b0db3 100644 (file)
@@ -896,4 +896,4 @@ const XMLCh RetrievalMethod::TYPE_X509DATA[] = {
     chLatin_x, chLatin_m, chLatin_l, chLatin_d, chLatin_s, chLatin_i, chLatin_g, chPound,
     chLatin_X, chDigit_5, chDigit_0, chDigit_9, chLatin_D, chLatin_a, chLatin_t, chLatin_a, chNull
     };
-    
\ No newline at end of file
+