Files
allwpilib/networktables/cpp/include/networktables2/connection/BadMessageException.h
Tyler Veness e4a8aacc51 artf4107: Replaced throw() with noexcept
Change-Id: I05bb06f6485120da05ce22c464b41f3cb0a0e00e
2015-07-02 21:50:39 -07:00

25 lines
443 B
C++

/*
* BadMessageException.h
*
* Created on: Sep 16, 2012
* Author: Mitchell Wills
*/
#ifndef BADMESSAGEEXCEPTION_H_
#define BADMESSAGEEXCEPTION_H_
#include <exception>
#include <string>
class BadMessageException : public std::exception
{
public:
BadMessageException(const char* message);
~BadMessageException() noexcept;
const char* what() const noexcept;
private:
std::string message;
};
#endif /* BADMESSAGEEXCEPTION_H_ */