Subversion Repositories HomeAutomation

Rev

Rev 969 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 969 Rev 985
Line 23... Line 23...
23
#define _EXCEPTION_H
23
#define _EXCEPTION_H
24
 
24
 
25
using namespace std;
25
using namespace std;
26
 
26
 
27
#include <string>
27
#include <string>
-
 
28
 
-
 
29
namespace Atom
-
 
30
{
28
 
31
 
29
class Exception
32
class Exception
30
{
33
{
31
public:
34
public:
32
    Exception(string description) { myDescription = description; };
35
    Exception(string description) { myDescription = description; };
Line 35... Line 38...
35
 
38
 
36
private:
39
private:
37
    string myDescription;
40
    string myDescription;
38
};
41
};
39
 
42
 
-
 
43
}
40
 
44
 
41
#endif  /* _EXCEPTION_H */
45
#endif  /* _EXCEPTION_H */
42
 
46