12#ifndef ZYPP_CORE_BASE_USERREQUESTEXCEPTION_H
13#define ZYPP_CORE_BASE_USERREQUESTEXCEPTION_H
17#include <zypp/base/Exception.h>
79 virtual std::ostream &
dumpOn( std::ostream &
str )
const;
86#define declException( EXCP, KIND ) \
87 struct EXCP : public UserRequestException { \
89 EXCP( const std::string & msg_r = std::string() ) \
90 : UserRequestException( KIND, msg_r ) \
92 EXCP( const std::string & msg_r, const Exception & history_r ) \
93 : UserRequestException( KIND, msg_r, history_r ) \
#define declException(EXCP, BASE)
Convenience macro to declare more specific PluginScriptExceptions.
Base class for Exception.
Base for exceptions caused by explicit user request.
virtual std::ostream & dumpOn(std::ostream &str) const
Overload this to print a proper error message.
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.