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