libzypp: zypp/PluginScriptException.cc Source File

libzypp 17.25.10

PluginScriptException.cc
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
12 #include <iostream>
13 //#include <zypp/base/LogTools.h>
14
15 #include <zypp/PluginScriptException.h>
16 #include <zypp/PluginScript.h>
17
18 using std::endl;
19
21 namespace zypp
22 {
23
24 PluginScriptException::PluginScriptException()
25 : Exception( "PluginScriptException" )
26 {}
27
28 PluginScriptException::PluginScriptException( const std::string & msg_r )
29 : Exception( msg_r )
30 {}
31
32 PluginScriptException::PluginScriptException( const std::string & msg_r, const std::string & hist_r )
33 : Exception( msg_r )
34 { addHistory( hist_r ); }
35
36 PluginScriptException::~PluginScriptException() throw()
37 {}
38
40 } // namespace zypp
PluginScriptException.h
PluginScript.h
zypp::Exception
Base class for Exception.
Definition: Exception.h:146
zypp::Exception::addHistory
void addHistory(const std::string &msg_r)
Add some message text to the history.
Definition: Exception.cc:125
zypp::PluginScriptException::PluginScriptException
PluginScriptException()
Definition: PluginScriptException.cc:24
zypp::PluginScriptException::~PluginScriptException
virtual ~PluginScriptException()
Definition: PluginScriptException.cc:36
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2