00001 /* -*- mode: c++ -*- */ 00002 00014 #include "FitterException.h" 00015 00016 FitterException:: 00017 FitterException ( const FitterException & e ) 00018 { 00019 m_what = e.m_what; 00020 } 00021 00022 FitterException:: 00023 FitterException ( const std::string & what ) 00024 { 00025 m_what = what; 00026 } 00027 00028 FitterException:: 00029 ~FitterException ( ) throw () 00030 { 00031 } 00032 00033 char const * 00034 FitterException:: 00035 what () const throw () 00036 { 00037 return m_what.c_str(); 00038 }