]> Creatis software - creaEnvironment.git/blob - lib/kernel_Environment/HandlerConceptsException.h
*** empty log message ***
[creaEnvironment.git] / lib / kernel_Environment / HandlerConceptsException.h
1
2 // SYSTEM INCLUDES
3
4 #include <iostream>
5 #include <exception>
6 // PROJECT INCLUDES
7
8
9 // LOCAL INCLUDES
10
11 // FORWARD REFERENCES
12
13 //NAMESPACE
14 //using namespace handlerDimensions
15 //using namespace std; 
16
17 namespace handlerConcepts
18         {
19         class HandlerException: public std::exception
20                 {
21         
22                         //====== LIFECYCLE ========
23                         HandlerException(std::std::string msg)
24                         {
25                                 this->msg=msg;
26                         }
27                         //======= INQUIRY ===========
28                         virtual const char* what() const throw()
29                         {
30                                 return msg;
31                         }
32                         
33                         private:
34                                 /*
35                                 * msg to return
36                                 */
37                                 std::std::string msg; 
38                 } handlerException;                             
39         }