Fawkes API  Fawkes Development Version
fawkes::ConfigurationException Class Reference

Generic configuration exception. More...

#include <config/config.h>

Inheritance diagram for fawkes::ConfigurationException:

List of all members.

Public Member Functions

 ConfigurationException (const char *msg)
 Constructor.
 ConfigurationException (const char *prefix, const char *msg)
 Constructor.

Detailed Description

Generic configuration exception.

Thrown if there is no other matching exception.


Constructor & Destructor Documentation

fawkes::ConfigurationException::ConfigurationException ( const char *  msg)

Constructor.

Parameters:
msgmessage

Definition at line 318 of file config.cpp.

fawkes::ConfigurationException::ConfigurationException ( const char *  prefix,
const char *  msg 
)

Constructor.

Parameters:
prefixPut as "prefix: " before the message, can be used to have a prefix and put an error message from another API into msg.
msgmessage

Definition at line 329 of file config.cpp.

References fawkes::Exception::append().


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