dataset_not_found_exception.cpp

00001 //--------------------------------------------------
00012 //---------------------------------------------------
00013 
00014 #include "dataset_not_found_exception.h"
00015 
00016 namespace imedgine 
00017 {
00018   DatasetNotFoundException::DatasetNotFoundException(std::string dataset_key)
00019   : Exception(DATASET_NOT_FOUND_EXCEPTION, dataset_key),
00020     dataset_key_(dataset_key)
00021   {
00022   }
00023   
00024   DatasetNotFoundException::DatasetNotFoundException(DatasetNotFoundException const& src)
00025   : Exception(src),
00026     dataset_key_(src.dataset_key_)
00027   {
00028   }      
00029   
00030   
00031   DatasetNotFoundException::~DatasetNotFoundException() throw()
00032   {
00033   }
00034   
00035   char const* DatasetNotFoundException::what() const throw()
00036   {
00037     return("dataset not found exception");  
00038   }
00039 
00040   std::string const& DatasetNotFoundException::getDatasetKey() const
00041   {
00042     return dataset_key_;
00043   }
00044 }

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