mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
This is the changes made by Patrick Plenefisch converting the native code to use CMake and the CMake Maven Plugin, as opposed to the native Maven plugin. This is to allow for compatibility with newer versions of the GCC toolchain. All the cpp sources were moved from maven style directories to cpp style directories for CMake. Change-Id: I67f5e3608948f37c83b0990d232105a3784f8593
41 lines
709 B
C++
41 lines
709 B
C++
/*
|
|
* TableKeyNotDefinedException.h
|
|
*
|
|
* Created on: Sep 22, 2012
|
|
* Author: Mitchell Wills
|
|
*/
|
|
|
|
#ifndef TABLEKEYNOTDEFINEDEXCEPTION_H_
|
|
#define TABLEKEYNOTDEFINEDEXCEPTION_H_
|
|
|
|
|
|
class TableKeyNotDefinedException;
|
|
|
|
|
|
#include <exception>
|
|
#include <string>
|
|
|
|
|
|
/**
|
|
* An exception throw when the lookup a a key-value fails in a {@link ITable}
|
|
*
|
|
* @author Mitchell
|
|
*
|
|
*/
|
|
class TableKeyNotDefinedException : public std::exception {
|
|
public:
|
|
/**
|
|
* @param key the key that was not defined in the table
|
|
*/
|
|
TableKeyNotDefinedException(const std::string key);
|
|
~TableKeyNotDefinedException() throw();
|
|
const char* what();
|
|
private:
|
|
const std::string msg;
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif /* TABLEKEYNOTDEFINEDEXCEPTION_H_ */
|