summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-02-28 20:57:46 +0000
committerrandomdan <randomdan@localhost>2011-02-28 20:57:46 +0000
commit657650f18b4b18d188f1e96dc9f0e6ca347a040a (patch)
tree543637db56b8a9a4ccdec942b9665a9eab8eee8d
parentAdd support for local error handling (diff)
downloadproject2-657650f18b4b18d188f1e96dc9f0e6ca347a040a.tar.bz2
project2-657650f18b4b18d188f1e96dc9f0e6ca347a040a.tar.xz
project2-657650f18b4b18d188f1e96dc9f0e6ca347a040a.zip
Add missing implementation of noOutputExecute.cpp
-rw-r--r--project2/noOutputExecute.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/project2/noOutputExecute.cpp b/project2/noOutputExecute.cpp
new file mode 100644
index 0000000..7608329
--- /dev/null
+++ b/project2/noOutputExecute.cpp
@@ -0,0 +1,14 @@
+#include "noOutputExecute.h"
+
+NoOutputExecute::NoOutputExecute(const xmlpp::Element * p) :
+ SourceObject(p),
+ isErrorHandler(p->get_attribute_value("onerror") == "true")
+{
+}
+
+NoOutputExecute::NoOutputExecute(const std::string & n) :
+ SourceObject(n),
+ isErrorHandler(false)
+{
+}
+