00001 //<<<<<< INCLUDES >>>>>> 00002 00003 #include "IgPluginParserError.h" 00004 00005 //<<<<<< PRIVATE DEFINES >>>>>> 00006 //<<<<<< PRIVATE CONSTANTS >>>>>> 00007 //<<<<<< PRIVATE TYPES >>>>>> 00008 //<<<<<< PRIVATE VARIABLE DEFINITIONS >>>>>> 00009 //<<<<<< PUBLIC VARIABLE DEFINITIONS >>>>>> 00010 //<<<<<< CLASS STRUCTURE INITIALIZATION >>>>>> 00011 //<<<<<< PRIVATE FUNCTION DEFINITIONS >>>>>> 00012 //<<<<<< PUBLIC FUNCTION DEFINITIONS >>>>>> 00013 //<<<<<< MEMBER FUNCTION DEFINITIONS >>>>>> 00014 00015 IgPluginParserError::IgPluginParserError (const std::string &reason) 00016 : m_reason (reason) 00017 {} 00018 00019 std::string 00020 IgPluginParserError::explainSelf (void) const 00021 { return m_reason; } 00022 00024 lat::Error * 00025 IgPluginParserError::clone (void) const 00026 { return new IgPluginParserError (*this); } 00027 00029 void 00030 IgPluginParserError::rethrow (void) 00031 { throw *this; }