2015-12-06 22:39:38 -08:00
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
/* Copyright (c) FIRST 2015. All Rights Reserved. */
|
|
|
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
|
|
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
|
|
|
/* the project. */
|
|
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
#include "tables/TableKeyNotDefinedException.h"
|
|
|
|
|
|
|
|
|
|
TableKeyNotDefinedException::TableKeyNotDefinedException(llvm::StringRef key)
|
|
|
|
|
: msg("Unknown Table Key: ") {
|
|
|
|
|
msg += key;
|
|
|
|
|
}
|
|
|
|
|
|
2015-12-09 01:13:55 -08:00
|
|
|
const char* TableKeyNotDefinedException::what() const noexcept {
|
|
|
|
|
return msg.c_str();
|
|
|
|
|
}
|
2015-12-06 22:39:38 -08:00
|
|
|
|
|
|
|
|
TableKeyNotDefinedException::~TableKeyNotDefinedException() noexcept {}
|