00001 //<<<<<< INCLUDES >>>>>> 00002 00003 #include "Iguana/Framework/interface/IgNetError.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 IgNetError::IgNetError (const std::string &reason, lat::Error *next) 00016 : Error (next), 00017 m_reason (reason) 00018 { 00019 } 00020 00021 std::string 00022 IgNetError::explainSelf (void) const 00023 { return m_reason; } 00024 00026 lat::Error * 00027 IgNetError::clone (void) const 00028 { return new IgNetError (*this); } 00029 00031 void 00032 IgNetError::rethrow (void) 00033 { throw *this; }