Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgException.cpp

Go to the documentation of this file.
00001 //----------------------------------------------------------------------------
00002 /** @file SgException.cpp
00003     See SgException.h
00004 */
00005 //----------------------------------------------------------------------------
00006 
00007 #include "SgSystem.h"
00008 #include "SgException.h"
00009 
00010 using namespace std;
00011 
00012 //----------------------------------------------------------------------------
00013 
00014 SgException::SgException()
00015 {
00016 }
00017 
00018 SgException::SgException(const string& message)
00019 {
00020     m_message = message;
00021 }
00022 
00023 SgException::~SgException() throw()
00024 {
00025 }
00026 
00027 const char* SgException::what() const throw()
00028 {
00029     return m_message.c_str();
00030 }
00031 
00032 //----------------------------------------------------------------------------
00033 


17 Jun 2010 Doxygen 1.4.7