Fawkes API  Fawkes Development Version
fawkes::PluginLoadException Class Reference

This exception is thrown if the requested plugin could not be loaded. More...

#include <>>

Inheritance diagram for fawkes::PluginLoadException:

List of all members.

Public Member Functions

 PluginLoadException (const char *plugin, const char *message)
 Constructor.
 PluginLoadException (const char *plugin, const char *message, Exception &e)
 Constructor.
 ~PluginLoadException () throw ()
 Destructor.
std::string plugin_name () const
 Get name of plugin which failed to load.

Detailed Description

This exception is thrown if the requested plugin could not be loaded.


Constructor & Destructor Documentation

fawkes::PluginLoadException::PluginLoadException ( const char *  plugin,
const char *  message 
)

Constructor.

Parameters:
pluginname of the plugin that caused the exception
messagemessage of exception

Definition at line 55 of file loader.cpp.

References fawkes::Exception::append().

fawkes::PluginLoadException::PluginLoadException ( const char *  plugin,
const char *  message,
Exception e 
)

Constructor.

Parameters:
pluginname of the plugin that caused the exception
messagemessage of exception
eexception to copy further messages from

Definition at line 72 of file loader.cpp.

References fawkes::Exception::append(), and fawkes::Exception::copy_messages().

fawkes::PluginLoadException::~PluginLoadException ( ) throw ()

Destructor.

Definition at line 63 of file loader.cpp.


Member Function Documentation

std::string fawkes::PluginLoadException::plugin_name ( ) const

Get name of plugin which failed to load.

Returns:
plugin name

Definition at line 84 of file loader.cpp.

Referenced by fawkes::FawkesMainThread::once().


The documentation for this class was generated from the following files: