changeset 19:1ad6fa6dc039

Added new exceptions.
author Tom Fredrik Blenning Klaussen <bfg@blenning.no>
date Wed, 05 Sep 2012 21:53:09 +0200
parents fcb7a71a22c1
children 754e12c927b3
files InvalidDataException.hpp NoSuchValueException.hpp
diffstat 2 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/InvalidDataException.hpp	Wed Sep 05 21:53:09 2012 +0200
@@ -0,0 +1,10 @@
+#ifndef INVALIDDATAEXCEPTION_HPP
+#define INVALIDDATAEXCEPTION_HPP
+
+#include "Exception.hpp"
+
+class InvalidDataException : public Exception
+{
+};
+
+#endif //INVALIDDATAEXCEPTION_HPP
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NoSuchValueException.hpp	Wed Sep 05 21:53:09 2012 +0200
@@ -0,0 +1,10 @@
+#ifndef NOSUCHVALUEEXCEPTION_HPP
+#define NOSUCHVALUEEXCEPTION_HPP
+
+#include "Exception.hpp"
+
+class NoSuchValueException : public Exception
+{
+};
+
+#endif //NOSUCHVALUEEXCEPTION_HPP