#include <iosfwd>
#include <zypp/base/Exception.h>
Go to the source code of this file.
|  | 
| namespace | zypp | 
|  | Easy-to use interface to the ZYPP dependency resolver. 
 | 
|  | 
|  | 
| #define | declException(EXCP,  KIND) | 
|  | Convenience macro to declare more specific PluginScriptExceptions. 
 | 
|  | 
◆ declException
      
        
          | #define declException | ( |  | EXCP, | 
        
          |  |  |  | KIND ) | 
      
 
Value:  struct ZYPP_API 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.