EventAnalysis  1.3.0
Public Member Functions | Private Attributes | List of all members
EA::IncludeFileExc Class Reference

Exception for including a configuration file. More...

#include <IncludeFileExc.h>

Inheritance diagram for EA::IncludeFileExc:

Public Member Functions

 IncludeFileExc (std::string fileName)
 Constructor. More...
 
const char * what () const noexcept
 Exception message. More...
 

Private Attributes

std::string _fileName
 

Detailed Description

Exception for including a configuration file.

Whenever a #ConfigLineHandler encounters an instruction for the inclusion of another configuration file it throws this exception. The #TextFileConfigurator will catch it and properly set up the parsing of the included file.

Constructor & Destructor Documentation

◆ IncludeFileExc()

EA::IncludeFileExc::IncludeFileExc ( std::string  fileName)
inline

Constructor.

Parameters
fileNameThe name of the configuration file to be included.

Member Function Documentation

◆ what()

const char* EA::IncludeFileExc::what ( ) const
inlinenoexcept

Exception message.

Returns
The name of the configuration file to be included.

Member Data Documentation

◆ _fileName

std::string EA::IncludeFileExc::_fileName
private

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