Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / include / common.hpp
diff --git a/Usermode/Applications/axwin4_src/Server/include/common.hpp b/Usermode/Applications/axwin4_src/Server/include/common.hpp
new file mode 100644 (file)
index 0000000..1a1facc
--- /dev/null
@@ -0,0 +1,26 @@
+/*
+ */
+#ifndef _COMMON_H_
+#define _COMMON_H_
+
+#include <exception>
+
+namespace AxWin {
+
+class InitFailure:
+       public ::std::exception
+{
+       const char *m_what;
+public:
+       InitFailure(const char *reason):
+               m_what(reason)
+       {
+       }
+       
+       virtual const char* what() const throw();
+};
+
+}      // namespace AxWin
+
+#endif
+

UCC git Repository :: git.ucc.asn.au