diff options
Diffstat (limited to 'src/expr/node.h')
-rw-r--r-- | src/expr/node.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/expr/node.h b/src/expr/node.h index 2751c96a8..57b02b05b 100644 --- a/src/expr/node.h +++ b/src/expr/node.h @@ -65,7 +65,7 @@ private: protected: - TypeCheckingExceptionPrivate() : Exception() {} + TypeCheckingExceptionPrivate() throw() : Exception() {} public: @@ -74,7 +74,7 @@ public: * @param node the problematic node * @param message the message explaining the failure */ - TypeCheckingExceptionPrivate(NodeTemplate<false> node, std::string message); + TypeCheckingExceptionPrivate(NodeTemplate<false> node, std::string message) throw(); /** Destructor */ ~TypeCheckingExceptionPrivate() throw (); @@ -83,14 +83,14 @@ public: * Get the Node that caused the type-checking to fail. * @return the node */ - NodeTemplate<true> getNode() const; + NodeTemplate<true> getNode() const throw(); /** * Returns the message corresponding to the type-checking failure. * We prefer toStream() to toString() because that keeps the expr-depth * and expr-language settings present in the stream. */ - void toStream(std::ostream& out) const; + void toStream(std::ostream& out) const throw(); };/* class TypeCheckingExceptionPrivate */ |