00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #include <iostream> 00013 //#include "zypp/base/Logger.h" 00014 00015 #include "zypp/parser/tagfile/ParseException.h" 00016 00017 using std::endl; 00018 00020 namespace zypp 00021 { 00022 00023 namespace parser 00024 { 00025 00026 namespace tagfile 00027 { 00028 00030 // 00031 // METHOD NAME : ParseException::ParseException 00032 // METHOD TYPE : Ctor 00033 // 00034 ParseException::ParseException() 00035 : Exception( "Parse exception" ) 00036 {} 00037 00039 // 00040 // METHOD NAME : ParseException::ParseException 00041 // METHOD TYPE : Ctor 00042 // 00043 ParseException::ParseException( const std::string & msg_r ) 00044 : Exception( msg_r ) 00045 {} 00046 00048 // 00049 // METHOD NAME : ParseException::~ParseException 00050 // METHOD TYPE : Dtor 00051 // 00052 ParseException::~ParseException() throw() 00053 {} 00054 00056 // 00057 // METHOD NAME : ParseException::dumpOn 00058 // METHOD TYPE : std::ostream & 00059 // 00060 std::ostream & ParseException::dumpOn( std::ostream & str ) const 00061 { 00062 return Exception::dumpOn( str ); 00063 } 00064 00066 } // namespace tagfile 00069 } // namespace parser 00072 } // namespace zypp