version 0.1.4
[fms.git] / include / pthreadwrapper / deadlockexception.h
diff --git a/include/pthreadwrapper/deadlockexception.h b/include/pthreadwrapper/deadlockexception.h
new file mode 100644 (file)
index 0000000..3f83736
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef _pthread_wrapper_\r
+#define _pthread_wrapper_\r
+\r
+#include <exception>\r
+\r
+namespace PThread\r
+{\r
+       \r
+class DeadlockException:public std::exception\r
+{\r
+public:\r
+       const char *what() const        { return "Deadlock Exception"; }\r
+};\r
+       \r
+}      // namespace\r
+\r
+#endif // _pthread_wrapper_\r