]> SALOME platform Git repositories - modules/kernel.git/blob - src/Batch/Batch_GenericException.hxx
Salome HOME
PR: mergefrom_BR_BATCH_22Oct04
[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 using namespace std;
16 #include <string>
17
18 namespace Batch {
19
20   class GenericException
21   {
22   public:
23     const string type;    // la nature de l'exception
24     const string message; // la raison de l'exception
25
26                 // Constructeur
27     GenericException(const string tp = "GenericException", const string ch = "undefined") : type(tp), message(ch) {}
28   };
29
30 }
31
32 #endif