]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/CutModule/kernel/CutModelException.h
no message
[creaMaracasVisu.git] / lib / maracasVisuLib / src / CutModule / kernel / CutModelException.h
1 /*=========================================================================
2
3   Program:   wxMaracas
4   Module:    $RCSfile: CutModelException.h,v $
5   Language:  C++
6   Date:      $Date: 2009/09/25 10:58:19 $
7   Version:   $Revision: 1.2 $
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 __CutModelExceptionH__
22 #define __CutModelExceptionH__
23
24 #include <iostream>
25 #include <vector>
26
27
28 class CutModelException  : public std::exception{
29
30 public:
31         CutModelException(std::string cause);
32         ~CutModelException() throw();
33
34         std::string getCause(){
35                 return _cause;
36         }
37         
38 private:        
39         
40         std::string _cause;
41         
42 };
43
44 #endif