// $Id: MSXException.hh 4859 2005-11-12 21:56:00Z manuelbi $ #ifndef MSXEXCEPTION_HH #define MSXEXCEPTION_HH #include namespace openmsx { class MSXException { public: explicit MSXException(const std::string& message_) : message(message_) { } virtual ~MSXException() { } const std::string& getMessage() const { return message; } private: const std::string message; }; class FatalError { public: explicit FatalError(const std::string& message_) : message(message_) { } virtual ~FatalError() { } const std::string& getMessage() const { return message; } private: const std::string message; }; } // namespace openmsx #endif