libzypp 17.31.23
parseexception.cc
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12#include <iostream>
13#include "parseexception.h"
14
15using std::endl;
16
18namespace zypp
19{
21 namespace parser
22 {
23
25 //
26 // METHOD NAME : ParseException::ParseException
27 // METHOD TYPE : Ctor
28 //
30 : Exception( "Parse exception" )
31 {}
32
34 //
35 // METHOD NAME : ParseException::ParseException
36 // METHOD TYPE : Ctor
37 //
38 ParseException::ParseException( const std::string & msg_r )
39 : Exception( msg_r )
40 {}
41
43 //
44 // METHOD NAME : ParseException::~ParseException
45 // METHOD TYPE : Dtor
46 //
48 {}
49
51 //
52 // METHOD NAME : ParseException::dumpOn
53 // METHOD TYPE : std::ostream &
54 //
55 std::ostream & ParseException::dumpOn( std::ostream & str ) const
56 {
57 return Exception::dumpOn( str );
58 }
59
61 } // namespace parser
64} // 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:161
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