Brian Silverman | f7bd1c2 | 2015-12-24 16:07:11 -0800 | [diff] [blame^] | 1 | /*----------------------------------------------------------------------------*/ |
| 2 | /* Copyright (c) FIRST 2015. All Rights Reserved. */ |
| 3 | /* Open Source Software - may be modified and shared by FRC teams. The code */ |
| 4 | /* must be accompanied by the FIRST BSD license file in the root directory of */ |
| 5 | /* the project. */ |
| 6 | /*----------------------------------------------------------------------------*/ |
| 7 | |
| 8 | #include "tables/TableKeyNotDefinedException.h" |
| 9 | |
| 10 | TableKeyNotDefinedException::TableKeyNotDefinedException(llvm::StringRef key) |
| 11 | : msg("Unknown Table Key: ") { |
| 12 | msg += key; |
| 13 | } |
| 14 | |
| 15 | const char* TableKeyNotDefinedException::what() const NT_NOEXCEPT { |
| 16 | return msg.c_str(); |
| 17 | } |
| 18 | |
| 19 | TableKeyNotDefinedException::~TableKeyNotDefinedException() NT_NOEXCEPT {} |