12 #ifndef ZYPP_PLUGINSCRIPTEXCEPTION_H
13 #define ZYPP_PLUGINSCRIPTEXCEPTION_H
35 #define declException( EXCP, BASE ) \
36 class EXCP : public BASE { \
38 EXCP() : BASE( #EXCP ) {} \
39 EXCP( const std::string & msg_r ) : BASE( msg_r ) {} \
40 EXCP( const std::string & msg_r, const std::string & hist_r ) : BASE( msg_r, hist_r ) {} \
41 virtual ~EXCP() throw() {} \
45 declException( PluginScriptNotConnected, PluginScriptException );
48 declException( PluginScriptDiedUnexpectedly, PluginScriptException );
55 declException( PluginScriptSendTimeout, PluginScriptTimeout );
58 declException( PluginScriptReceiveTimeout, PluginScriptTimeout );
65 #endif // ZYPP_PLUGINSCRIPTEXCEPTION_H
Base class for PluginScript Exception.
declException(IgnoreRequestException, IGNORE)
Base class for Exception.
virtual ~PluginScriptException()