libzypp 17.31.0
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
16#include <zypp/PluginScript.h>
17
18using std::endl;
19
21namespace zypp
22{
23
25 : Exception( "PluginScriptException" )
26 {}
27
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
37 {}
38
40} // namespace zypp
Base class for Exception.
Definition: Exception.h:146
void addHistory(const std::string &msg_r)
Add some message text to the history.
Definition: Exception.cc:140
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2