]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/CutModule/kernel/CutModel2Exception.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / CutModule / kernel / CutModel2Exception.h
1 /*=========================================================================
2
3   Program:   wxMaracas
4   Module:    $RCSfile: CutModel2Exception.h,v $
5   Language:  C++
6   Date:      $Date: 2009/11/19 15:00:33 $
7   Version:   $Revision: 1.1 $
8
9   Copyright: (c) 2002, 2003
10   License:
11   
12      This software is distributed WITHOUT ANY WARRANTY; without even 
13      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
14      PURPOSE.  See the above copyright notice for more information.
15
16 =========================================================================*/
17
18
19
20
21 #ifndef __CutModel2ExceptionH__
22 #define __CutModel2ExceptionH__
23
24 #include <iostream>
25 #include <vector>
26
27
28 class CutModel2Exception  : public std::exception{
29
30 public:
31         CutModel2Exception(std::string cause);
32         ~CutModel2Exception() throw();
33
34         std::string getCause(){
35                 return _cause;
36         }
37         
38 private:        
39         
40         std::string _cause;
41         
42 };
43
44 #endif