WPILibC++  trunk
TableKeyNotDefinedException.h
1 /*
2  * TableKeyNotDefinedException.h
3  *
4  * Created on: Sep 22, 2012
5  * Author: Mitchell Wills
6  */
7 
8 #ifndef TABLEKEYNOTDEFINEDEXCEPTION_H_
9 #define TABLEKEYNOTDEFINEDEXCEPTION_H_
10 
11 
13 
14 
15 #include <exception>
16 #include <string>
17 
18 
25 class TableKeyNotDefinedException : public std::exception {
26 public:
30  TableKeyNotDefinedException(const std::string key);
31  ~TableKeyNotDefinedException() throw();
32  const char* what();
33 private:
34  const std::string msg;
35 };
36 
37 
38 
39 
40 #endif /* TABLEKEYNOTDEFINEDEXCEPTION_H_ */
TableKeyNotDefinedException(const std::string key)