#ifndef MY_EXCEPTION_H
#define MY_EXCEPTION_H
#include <string>
#include <stdexcept>
class MyException : public std::runtime_error {
public:
std::string desc;
MyException(std::string const &s) : std::runtime_error("My Exception"){
desc = s;
}
~MyException() throw(){
}
};
#endif