libzypp  17.36.3
TargetException.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
12 #ifndef ZYPP_TARGET_TARGETEXCEPTION_H
13 #define ZYPP_TARGET_TARGETEXCEPTION_H
14 
15 #include <iosfwd>
16 
17 #include <string>
18 
19 #include <zypp/base/Exception.h>
20 #include <zypp/Pathname.h>
21 
23 namespace zypp
24 {
25  namespace target {
27  //
28  // CLASS NAME : TargetException
33  {
34  public:
39  : Exception( "Target Exception" )
40  {}
44  TargetException( const std::string & msg_r )
45  : Exception( msg_r )
46  {}
48  ~TargetException() throw() override {};
49  };
50 
52  {
53  public:
55 
59  TargetAbortedException( const std::string & msg_r )
60  : TargetException( msg_r )
61  {}
63  ~TargetAbortedException() throw() override {};
64  protected:
65  std::ostream & dumpOn( std::ostream & str ) const override;
66  private:
67  };
68 
69 
71  } // namespace target
72 } // namespace zypp
74 #endif // ZYPP_TARGET_TARGETEXCEPTION_H
~TargetException() override
Dtor.
String related utilities and Regular expression matching.
TargetException(const std::string &msg_r)
Ctor taking message.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Definition: ResTraits.h:93
std::ostream & dumpOn(std::ostream &str, const RpmPostTransCollector &obj)
TargetException()
Ctor taking message.
Base class for Exception.
Definition: Exception.h:146
TargetAbortedException(const std::string &msg_r)
Ctor taking message.
Just inherits Exception to separate target exceptions.
Easy-to use interface to the ZYPP dependency resolver.
Definition: Application.cc:19