libzypp: zypp/PluginScriptException.cc Source File

libzypp 17.36.6

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
18using std::endl;
19
21namespace 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::addHistory
void addHistory(const std::string &msg_r)
Add some message text to the history.
Definition Exception.cc:176
zypp::Exception::Exception
Exception()
Default ctor.
Definition Exception.cc:81
zypp::PluginScriptException::~PluginScriptException
~PluginScriptException() override
Definition PluginScriptException.cc:36
zypp::PluginScriptException::PluginScriptException
PluginScriptException()
Definition PluginScriptException.cc:24
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition Application.cc:20