mirror of https://github.com/makarcz/vm6502.git
25 lines
378 B
C++
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
|