Now you can download a copy of these docs so you can use them offline! Download now
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_ */

Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by doxygen 1.8.6