GSIException.cpp

Go to the documentation of this file.
00001 //Copyright GSI 2012
00002 #include <fesa-core-gsi/Exception/GSIException.h>
00003 #include <fesa-core/Core/AbstractEquipment.h>
00004 #include <stdarg.h>
00005 #include <ctype.h>
00006 
00007 namespace fesaGSI
00008 {
00009 
00010     GSIException::GSIException(std::string file, long lineNumber,const char* errorCode, ...)
00011     {
00012 
00013         errorCode_ = errorCode;
00014         file_ = file;
00015         lineNumber_ = lineNumber;
00016         if (!messagesLoaded_)
00017             preloadMessages();
00018         va_list vl;
00019         va_start(vl, errorCode);
00020         buildMessage(vl);
00021         va_end(vl);
00022     }
00023 
00024     GSIException::~GSIException() throw()
00025     {
00026 
00027     }
00028 
00029 }//end namespace
00030 

Generated on 25 Jan 2013 for fesa-core-gsi by  doxygen 1.6.1