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