mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
24 lines
365 B
C++
24 lines
365 B
C++
|
|
/*
|
||
|
|
* BadMessageException.cpp
|
||
|
|
*
|
||
|
|
* Created on: Sep 16, 2012
|
||
|
|
* Author: Mitchell Wills
|
||
|
|
*/
|
||
|
|
|
||
|
|
#include "networktables2/connection/BadMessageException.h"
|
||
|
|
|
||
|
|
BadMessageException::BadMessageException(const char* msg)
|
||
|
|
: message(msg)
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
BadMessageException::~BadMessageException() throw ()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
const char* BadMessageException::what()
|
||
|
|
{
|
||
|
|
return message.c_str();
|
||
|
|
}
|