libzypp 17.37.17
TargetException.cc
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12
13#include <string>
14#include <iostream>
15
17#include <zypp/base/Gettext.h>
18
19
21namespace zypp
22{
23 namespace target {
25
27 : TargetAbortedException ( _("Installation has been aborted as directed.") )
28 { }
29
30 std::ostream & TargetAbortedException::dumpOn( std::ostream & str ) const
31 {
32 //call base implementation, do not hardcode a string, do not blame user ( fixes bnc#978193 )
34 }
35
36
38 } // namespace target
39} // namespace zypp
virtual std::ostream & dumpOn(std::ostream &str) const
Overload this to print a proper error message.
Definition Exception.cc:210
std::ostream & dumpOn(std::ostream &str) const override
Overload this to print a proper error message.
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
#define _(MSG)
Definition Gettext.h:39
Interface to gettext.