libzypp 17.28.8
ParseException.cc
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12#include <iostream>
13//#include <zypp/base/Logger.h>
14
16
17using std::endl;
18
20namespace zypp
21{
23 namespace parser
24 {
25
27 //
28 // METHOD NAME : ParseException::ParseException
29 // METHOD TYPE : Ctor
30 //
32 : Exception( "Parse exception" )
33 {}
34
36 //
37 // METHOD NAME : ParseException::ParseException
38 // METHOD TYPE : Ctor
39 //
40 ParseException::ParseException( const std::string & msg_r )
41 : Exception( msg_r )
42 {}
43
45 //
46 // METHOD NAME : ParseException::~ParseException
47 // METHOD TYPE : Dtor
48 //
50 {}
51
53 //
54 // METHOD NAME : ParseException::dumpOn
55 // METHOD TYPE : std::ostream &
56 //
57 std::ostream & ParseException::dumpOn( std::ostream & str ) const
58 {
59 return Exception::dumpOn( str );
60 }
61
63 } // namespace parser
66} // namespace zypp
Base class for Exception.
Definition: Exception.h:146
virtual std::ostream & dumpOn(std::ostream &str) const
Overload this to print a proper error message.
Definition: Exception.cc:141
virtual std::ostream & dumpOn(std::ostream &str) const
Overload this to print a proper error message.
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2