mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
See https://usfirst.collab.net/sf/tracker/do/viewArtifact/projects.wpilib/tracker.4_defects/artf4148 Change-Id: I47b0d5a91fd49e47e2c7348b0705e998ec815682
25 lines
443 B
C++
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() throw ();
|
|
const char* what() const noexcept;
|
|
private:
|
|
std::string message;
|
|
};
|
|
|
|
#endif /* BADMESSAGEEXCEPTION_H_ */
|