jerrym | f157933 | 2013-02-07 01:56:28 +0000 | [diff] [blame] | 1 | /*
|
| 2 | * TableKeyNotDefinedException.cpp
|
| 3 | *
|
| 4 | * Created on: Sep 22, 2012
|
| 5 | * Author: Mitchell Wills
|
| 6 | */
|
| 7 |
|
| 8 | #include "tables/TableKeyNotDefinedException.h"
|
| 9 | #include <stdlib.h>
|
| 10 | #include <cstring>
|
| 11 |
|
| 12 |
|
| 13 | #define MESSAGE_PREFIX "Unkown Table Key: "
|
| 14 | TableKeyNotDefinedException::TableKeyNotDefinedException(const std::string key):
|
| 15 | msg(MESSAGE_PREFIX + key){
|
| 16 |
|
| 17 | }
|
| 18 |
|
| 19 | const char* TableKeyNotDefinedException::what(){
|
| 20 | return msg.c_str();
|
| 21 | }
|
| 22 |
|
| 23 | TableKeyNotDefinedException::~TableKeyNotDefinedException() throw(){
|
| 24 | }
|