libzypp  13.10.6
PluginScriptException.h File Reference
#include <iosfwd>
#include "zypp/base/Exception.h"
#include "zypp/Pathname.h"

Go to the source code of this file.

Classes

class  zypp::PluginScriptException
 Base class for PluginScript Exception. More...
 

Namespaces

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

Macros

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

Functions

 zypp::declException (PluginScriptNotConnected, PluginScriptException)
 Script connection not open. More...
 
 zypp::declException (PluginScriptDiedUnexpectedly, PluginScriptException)
 Script died unexpectedly. More...
 
 zypp::declException (PluginScriptTimeout, PluginScriptException)
 Communication timeout. More...
 
 zypp::declException (PluginScriptSendTimeout, PluginScriptTimeout)
 Timeout while sending data. More...
 
 zypp::declException (PluginScriptReceiveTimeout, PluginScriptTimeout)
 Timeout while receiving data. More...
 

Macro Definition Documentation

#define declException (   EXCP,
  BASE 
)
Value:
class EXCP : public BASE { \
public: \
EXCP() : BASE( #EXCP ) {} \
EXCP( const std::string & msg_r ) : BASE( msg_r ) {} \
EXCP( const std::string & msg_r, const std::string & hist_r ) : BASE( msg_r, hist_r ) {} \
virtual ~EXCP() throw() {} \
}

Convenience macro to declare more specific PluginScriptExceptions.

Definition at line 35 of file PluginScriptException.h.