openMSX
CommandException.hh
Go to the documentation of this file.
1 #ifndef COMMANDEXCEPTION_HH
2 #define COMMANDEXCEPTION_HH
3 
4 #include "MSXException.hh"
5 
6 namespace openmsx {
7 
9 {
10 public:
11  explicit CommandException(string_ref message);
12 };
13 
14 class SyntaxError final : public CommandException
15 {
16 public:
17  SyntaxError();
18 };
19 
20 } // namespace openmsx
21 
22 #endif
This class implements a subset of the proposal for std::string_ref (proposed for the next c++ standar...
Definition: string_ref.hh:18
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
CommandException(string_ref message)