summaryrefslogtreecommitdiff
path: root/libs/pbd3/pbd/failed_constructor.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd3/pbd/failed_constructor.h')
-rw-r--r--libs/pbd3/pbd/failed_constructor.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/pbd3/pbd/failed_constructor.h b/libs/pbd3/pbd/failed_constructor.h
new file mode 100644
index 0000000000..62eb6c0d71
--- /dev/null
+++ b/libs/pbd3/pbd/failed_constructor.h
@@ -0,0 +1,11 @@
+#ifndef __pbd_failed_constructor_h__
+#define __pbd_failed_constructor_h__
+
+#include <exception>
+
+class failed_constructor : public std::exception {
+ public:
+ virtual const char *what() const throw() { return "failed constructor"; }
+};
+
+#endif /* __pbd_failed_constructor_h__ */