format_not_supported_exception.cpp

Go to the documentation of this file.
00001 //--------------------------------------------------
00012 //---------------------------------------------------
00013 
00014 #include "format_not_supported_exception.h"
00015 
00016 namespace imedgine 
00017 {
00018   //---------------------------------------------------
00019   
00020   FormatNotSupportedException::FormatNotSupportedException(std::string extension)
00021   : Exception(FORMAT_NOT_SUPPORTED_EXCEPTION, extension)
00022   {
00023   }
00024   
00025   //---------------------------------------------------
00026   
00027   FormatNotSupportedException::FormatNotSupportedException(FormatNotSupportedException const& src)
00028   : Exception(src)
00029   {
00030   }      
00031   
00032   //---------------------------------------------------
00033   
00034   FormatNotSupportedException::~FormatNotSupportedException() throw()
00035   {
00036   }
00037   
00038   //---------------------------------------------------
00039   
00040   char const* FormatNotSupportedException::what() const throw()
00041   {
00042     return("format not supported exception");  
00043   }
00044   
00045   //---------------------------------------------------
00046 
00047   std::string const& FormatNotSupportedException::getExtension() const
00048   {
00049     return(detail_);
00050   }
00051 }

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