libzypp  17.11.2
UserRequestException.h File Reference
#include <iosfwd>
#include "zypp/base/Exception.h"
Include dependency graph for UserRequestException.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  zypp::UserRequestException
 Base for exceptions caused by explicit user request. More...
 

Namespaces

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 

Macros

#define declException(EXCP, KIND)
 Convenience macro to declare more specific PluginScriptExceptions. More...
 

Functions

 zypp::declException (IgnoreRequestException, IGNORE)
 
 zypp::declException (SkipRequestException, SKIP)
 
 zypp::declException (RetryRequestException, RETRY)
 
 zypp::declException (AbortRequestException, ABORT)
 

Macro Definition Documentation

◆ declException

#define declException (   EXCP,
  KIND 
)
Value:
struct EXCP : public UserRequestException { \
explicit \
EXCP( const std::string & msg_r = std::string() ) \
: UserRequestException( KIND, msg_r ) \
{} \
EXCP( const std::string & msg_r, const Exception & history_r ) \
: UserRequestException( KIND, msg_r, history_r ) \
{} \
}

Convenience macro to declare more specific PluginScriptExceptions.

Definition at line 86 of file UserRequestException.h.