mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
25 lines
495 B
C++
25 lines
495 B
C++
|
|
/*
|
||
|
|
* TableKeyNotDefinedException.cpp
|
||
|
|
*
|
||
|
|
* Created on: Sep 22, 2012
|
||
|
|
* Author: Mitchell Wills
|
||
|
|
*/
|
||
|
|
|
||
|
|
#include "tables/TableKeyNotDefinedException.h"
|
||
|
|
#include <stdlib.h>
|
||
|
|
#include <cstring>
|
||
|
|
|
||
|
|
|
||
|
|
#define MESSAGE_PREFIX "Unkown Table Key: "
|
||
|
|
TableKeyNotDefinedException::TableKeyNotDefinedException(const std::string key):
|
||
|
|
msg(MESSAGE_PREFIX + key){
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
const char* TableKeyNotDefinedException::what(){
|
||
|
|
return msg.c_str();
|
||
|
|
}
|
||
|
|
|
||
|
|
TableKeyNotDefinedException::~TableKeyNotDefinedException() throw(){
|
||
|
|
}
|