Kanzi 3.9.10
kanzi::UnableToOpenFileException Class Reference

Kanzi throws this exception when it tries to load a file that cannot be opened or does not exist. More...

#include <kanzi/core/error/exception.hpp>

Inheritance diagram for kanzi::UnableToOpenFileException:
[legend]

Public Member Functions

const string & getFileName ()
 Returns the name of the file that Kanzi fails to open.
 
 UnableToOpenFileException (const string &fileName)
 Constructor.
 

Detailed Description

Kanzi throws this exception when it tries to load a file that cannot be opened or does not exist.

Since
Kanzi 3.9.6.

Constructor & Destructor Documentation

◆ UnableToOpenFileException()

kanzi::UnableToOpenFileException::UnableToOpenFileException ( const string & fileName)
inlineexplicit

Constructor.

Parameters
fileNameThe name of the file that Kanzi fails to open.

Member Function Documentation

◆ getFileName()

const string & kanzi::UnableToOpenFileException::getFileName ( )
inline

Returns the name of the file that Kanzi fails to open.

Returns
The name of the file.

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