CutModelException.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   wxMaracas
00004   Module:    $RCSfile: CutModelException.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009/09/25 10:58:19 $
00007   Version:   $Revision: 1.2 $
00008 
00009   Copyright: (c) 2002, 2003
00010   License:
00011   
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notice for more information.
00015 
00016 =========================================================================*/
00017 
00018 
00019 
00020 
00021 #ifndef __CutModelExceptionH__
00022 #define __CutModelExceptionH__
00023 
00024 #include <iostream>
00025 #include <vector>
00026 
00027 
00028 class CutModelException  : public std::exception{
00029 
00030 public:
00031         CutModelException(std::string cause);
00032         ~CutModelException() throw();
00033 
00034         std::string getCause(){
00035                 return _cause;
00036         }
00037         
00038 private:        
00039         
00040         std::string _cause;
00041         
00042 };
00043 
00044 #endif 

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1