| e8555c89 Andy McCall |
1 |
#ifndef COMMANDEXCEPTION_HH |
| 2 |
#define COMMANDEXCEPTION_HH |
| 3 |
|
| 4 |
#include "MSXException.hh" |
| 5 |
|
| 6 |
namespace openmsx { |
| 7 |
|
| 8 |
class CommandException : public MSXException |
| 9 |
{ |
| 10 |
public: |
| 11 |
using MSXException::MSXException; |
| 12 |
}; |
| 13 |
|
| 14 |
class SyntaxError final : public CommandException |
| 15 |
{ |
| 16 |
public: |
| 17 |
SyntaxError(); |
| 18 |
}; |
| 19 |
|
| 20 |
} |
| 21 |
|
| 22 |
#endif |