Permalink
Browse files

introducing TalkyException

  • Loading branch information...
1 parent f238002 commit a04f3f83c3b9ea83934a48f647f26ef39e3cb6f9 @elliotwoods committed Dec 9, 2011
Showing with 21 additions and 0 deletions.
  1. +21 −0 src/TalkyException.h
View
21 src/TalkyException.h
@@ -0,0 +1,21 @@
+#pragma once
+//
+// TalkyException.h
+// Talky
+//
+// Created by Elliot Woods on 09/12/2011.
+// Copyright 2011 Kimchi and Chips. All rights reserved.
+//
+
+#include <string>
+using namespace std;
+
+class TalkyException
+{
+public:
+ TalkyException(string message) { this->message = message; }
+
+ string getMessage() { return message; }
+protected:
+ string message;
+};

0 comments on commit a04f3f8

Please sign in to comment.