00001 00012 #include "PlotterException.h" 00013 00014 namespace hippodraw { 00015 00016 PlotterException:: 00017 PlotterException ( const std::string & type ) 00018 { 00019 m_message = type; 00020 } 00021 00022 PlotterException:: 00023 PlotterException ( const PlotterException & e ) 00024 : exception () 00025 { 00026 m_message = e.m_message; 00027 } 00028 00029 PlotterException:: 00030 ~PlotterException () throw () 00031 { 00032 } 00033 00034 const char * 00035 PlotterException:: 00036 what () const throw () 00037 { 00038 return m_message.c_str(); 00039 } 00040 00041 } // namespace hippodraw 00042