ncutException.h

00001 #ifndef NCUTEXCEPTION_H
00002 #define NCUTEXCEPTION_H 1
00003 
00004 #include <iostream>
00005 #include <exception>
00006 
00007 namespace ncut
00008 {
00009 
00010 class ncutException: public std::exception
00011 {
00012   public:
00013 
00014     ncutException() throw();
00015     ncutException(const char* errmsg) throw();
00016 
00017     ncutException(const ncutException& clone) throw();
00018 
00019     virtual ~ncutException() throw();
00020 
00021     virtual const char* what() const throw();
00022 
00023     virtual ncutException& operator=(const ncutException&) throw();
00024 
00025   protected:
00026 
00027     const char* errmsg_;
00028 };
00029 
00030 class ncutCritical: public ncutException
00031 {
00032   public:
00033 
00034     ncutCritical() throw();
00035     ncutCritical(const char* errmsg) throw();
00036 
00037     virtual ~ncutCritical() throw();
00038 
00039 //     virtual ncutException& operator=(const ncutException&) throw();
00040 
00041 };
00042 
00043 } // namespace ncut
00044 
00045 #endif // NCUTEXCEPTION_H

Generated on Thu Jun 22 14:47:20 2006 for ncut.kdevelop by  doxygen 1.4.6