format_not_supported_exception.h

Go to the documentation of this file.
00001 //--------------------------------------------------
00011 //---------------------------------------------------
00012 
00013 #ifndef FORMAT_NOT_SUPPORTED_EXCEPTION_H_ 
00014 #define FORMAT_NOT_SUPPORTED_EXCEPTION_H_
00015 
00016 #include "exception.h"
00017 
00018 namespace imedgine 
00019 {
00020   //--------------------------------------------------
00034   //--------------------------------------------------
00035   
00036   class FormatNotSupportedException : public Exception
00037   {
00038   public:
00039 
00040     //--------------------------------------------------
00044 
00045     FormatNotSupportedException(std::string extension);
00046 
00047     //--------------------------------------------------
00050 
00051     FormatNotSupportedException(FormatNotSupportedException const& src);
00052 
00053     //--------------------------------------------------
00056     virtual ~FormatNotSupportedException() throw();
00057 
00058     //--------------------------------------------------
00063 
00064     virtual char const* what() const throw();
00065 
00066     //--------------------------------------------------
00071 
00072     std::string const& getExtension() const;
00073 
00074   private:
00075 
00076     FormatNotSupportedException & operator = (FormatNotSupportedException const&)
00077     { return(*this); }
00078 
00079   };
00080 }
00081 
00082 #endif

Generated on Sun Aug 13 18:19:39 2006 for iMEDgine by  doxygen 1.4.6