Salome HOME
Porting to Mandrake 10.1 and new products:
[modules/kernel.git] / src / Batch / Batch_GenericException.hxx
1 /*
2  * GenericException.hxx : 
3  *
4  * Auteur : Ivan DUTKA-MALEN - EDF R&D
5  * Mail   : mailto:ivan.dutka-malen@der.edf.fr
6  * Date   : Wed Nov 26 10:15:56 2003
7  * Projet : Salome 2
8  *
9  */
10
11 #ifndef _GENERICEXCEPTION_H_
12 #define _GENERICEXCEPTION_H_
13
14
15 #include <string>
16
17 namespace Batch {
18
19   class GenericException
20   {
21   public:
22     const std::string type;    // la nature de l'exception
23     const std::string message; // la raison de l'exception
24
25                 // Constructeur
26     GenericException(const std::string tp = "GenericException", const std::string ch = "undefined") : type(tp), message(ch) {}
27   };
28
29 }
30
31 #endif