emcException.C

Go to the documentation of this file.
00001 //$Id: emcException.C,v 1.2 2003/10/02 11:54:53 aphecete Exp $
00002 
00003 #include <string>
00004 #include "emcException.h"
00005 
00006 const char* emcException::what() const throw()
00007 {
00008   static char* header = "<EXCEPTION><EMCAL> " ;
00009   std::string msg = header ;
00010   msg += fContent ;
00011   msg += std::exception::what() ;
00012   return msg.c_str() ;
00013 }