vm6502/MKGenException.h

25 lines
378 B
C++

#ifndef MKGENEXCEPTION_H
#define MKGENEXCEPTION_H
#include <string>
#include <exception>
using namespace std;
namespace MKBasic {
class MKGenException : public exception {
public:
MKGenException();
MKGenException(string cause);
~MKGenException() throw() {};
string GetCause();
private:
string msCause;
};
} // namespace MKBasic
#endif