Salome HOME
d4cde40328f40114f7c888491e4b11424d183203
[modules/yacs.git] / src / bases / Exception.hxx
1 #ifndef __EXCEPTION_HXX__
2 #define __EXCEPTION_HXX__
3
4 #include <string>
5 #include <exception>
6
7 namespace YACS
8 {
9   class Exception : public std::exception
10   {
11   protected:
12     std::string _what;
13   public:
14     Exception(const std::string& what);
15     const char *what( void ) const throw ();
16     ~Exception() throw ();
17   };
18 }
19
20 #endif