/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/src/tools/MicroException.cpp

Go to the documentation of this file.
00001 /* @version $Revision: 1328 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2011-10-03 17:04:17 +0200 (Mon, 03 Oct 2011) $ */
00002 #include "tools/MicroException.hh"
00003 #include <string.h>
00004 
00005 MicroException::MicroException()
00006 {
00007                 strcpy(this->message, "The scope has an error. Try the Scope::reset method.");
00008 }
00009 
00010 MicroException::MicroException(char *aMessage)
00011 {
00012                 strcpy(this->message, aMessage);
00013 }
00014 
00015 MicroException::MicroException(const char *aMessage)
00016 {
00017                 strcpy(this->message, aMessage);
00018 }
00019 
00020 char * MicroException::getMessage()
00021 {
00022                 return this->message;
00023 }
00024 

Generated on Mon Jan 7 13:15:22 2013 for MicromegasFramework by  doxygen 1.4.7