lbm_reference
Public Member Functions | Private Attributes | List of all members
confparser::ParameterNotFound Class Reference

Exception class for non-existing parameters. More...

#include <confparser/ConfBlock.h>

+ Inheritance diagram for confparser::ParameterNotFound:
+ Collaboration diagram for confparser::ParameterNotFound:

Public Member Functions

const char * getParamName () const throw ()
 Returns the parameter name. More...
 
 ParameterNotFound () throw ()
 Default constructor. More...
 
 ParameterNotFound (const std::string paramName) throw ()
 Constructor. More...
 
virtual ~ParameterNotFound () throw ()
 Destructor. More...
 

Private Attributes

const std::string paramName_
 Parameter name tried to retrieve. More...
 

Detailed Description

Exception class for non-existing parameters.

Is capable of providing information about the parameter tried to retrieve and the block tried to retrieve from

Definition at line 25 of file ConfBlock.h.

Constructor & Destructor Documentation

confparser::ParameterNotFound::ParameterNotFound ( ) throw ()
inline

Default constructor.

Sets no specific information

Definition at line 37 of file ConfBlock.h.

confparser::ParameterNotFound::ParameterNotFound ( const std::string  paramName) throw ()
inline

Constructor.

Sets information about parameter name tried to retrieve as well as block name tried to retrieve from

Definition at line 46 of file ConfBlock.h.

virtual confparser::ParameterNotFound::~ParameterNotFound ( ) throw ()
inlinevirtual

Destructor.

Definition at line 53 of file ConfBlock.h.

Member Function Documentation

const char* confparser::ParameterNotFound::getParamName ( ) const throw ()
inline

Returns the parameter name.

Returns
Name of the parameter that was tried to retrieve

Definition at line 63 of file ConfBlock.h.

References paramName_.

Member Data Documentation

const std::string confparser::ParameterNotFound::paramName_
private

Parameter name tried to retrieve.

Definition at line 73 of file ConfBlock.h.

Referenced by getParamName().


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