fawkes::PluginLoadException Class Reference

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

#include <plugin/loader.h>

Inheritance diagram for fawkes::PluginLoadException:

[legend]
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.

Definition at line 41 of file loader.h.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
plugin name of the plugin that caused the exception
message message of exception

Definition at line 56 of file loader.cpp.

References fawkes::Exception::append().

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

Constructor.

Parameters:
plugin name of the plugin that caused the exception
message message of exception
e exception to copy further messages from

Definition at line 73 of file loader.cpp.

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

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

Destructor.

Definition at line 64 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 85 of file loader.cpp.

Referenced by FawkesMainThread::once().


The documentation for this class was generated from the following files:
Generated on Tue Feb 22 13:32:53 2011 for Fawkes API by  doxygen 1.4.7