WPILibC++
trunk
Main Page
Related Pages
Classes
Files
File List
networktables2
util
IllegalStateException.h
1
/*
2
* IllegalStateException.h
3
*
4
* Created on: Sep 16, 2012
5
* Author: Mitchell Wills
6
*/
7
8
#ifndef ILLEGALSTATEEXCEPTION_H_
9
#define ILLEGALSTATEEXCEPTION_H_
10
11
#include <exception>
12
#include <string>
13
14
class
IllegalStateException
:
public
std::exception{
15
public
:
16
IllegalStateException
(
const
char
* message);
17
const
char
* what(){
return
message.c_str();};
18
~
IllegalStateException
()
throw
();
19
private
:
20
std::string message;
21
};
22
23
#endif
/* ILLEGALSTATEEXCEPTION_H_ */
IllegalStateException
Definition:
IllegalStateException.h:14
Generated on Sat Apr 26 2014 12:26:59 for WPILibC++ by
1.8.6