usata-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Usata-commits] Changes to usata2/src/object.cpp


From: David Lau
Subject: [Usata-commits] Changes to usata2/src/object.cpp
Date: Sun, 09 Jan 2005 04:51:24 -0500

Index: usata2/src/object.cpp
diff -u usata2/src/object.cpp:1.1 usata2/src/object.cpp:1.2
--- usata2/src/object.cpp:1.1   Sun Jan  2 02:53:52 2005
+++ usata2/src/object.cpp       Sun Jan  9 08:57:22 2005
@@ -1,10 +1,25 @@
 #include "object.hpp"
+#include <boost/format.hpp>
 
 #define USATA_NODE_PATH_SEPARATOR '/'
 
 namespace usata
 {
 
+namespace exceptions
+{
+
+NodeMissingChild::NodeMissingChild(const std::string& nn, const std::string& 
cn)
+:      child_name(nn),
+       container_name(cn),
+       NodeException( (boost::format("%1% has no such child %2%") 
%cn%nn).str())
+{
+
+}
+
+
+}
+
 std::string
 NodeInterface::NodePathPop(std::string&np)
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]