aboutsummaryrefslogtreecommitdiff
path: root/Exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'Exception.h')
-rw-r--r--Exception.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/Exception.h b/Exception.h
index 818f3f0..ef45522 100644
--- a/Exception.h
+++ b/Exception.h
@@ -12,5 +12,12 @@ private:
char * error = NULL;
};
-class ParserException : public Exception { using Exception::Exception; };
-class CircuitException : public Exception { using Exception::Exception; };
+class ParserException : public Exception {
+public:
+ ParserException(const char * fmt, ...) : Exception(fmt) {}
+};
+
+class CircuitException : public Exception {
+public:
+ CircuitException(const char * fmt, ...) : Exception(fmt) {}
+};