Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > by-pkgid > ad4af867860cf1de015e1bf4e58e1650 > files > 21

einstein-2.0-1mdv2010.2.i586.rpm

#ifndef __EXCEPTIONS_H__
#define __EXCEPTIONS_H__


#include <string>
#include <iostream>


class Exception
{
    private:
        std::wstring message;
    
    public:
        Exception(const std::wstring& msg) { message = msg;  /*std::cout << msg << std::endl;*/ };
        virtual ~Exception() { };

    public:
        const std::wstring& getMessage() const { return message; };
};


#endif