Kanzi  3.9.9
Kanzi Engine C++ API
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. More...
 
 UnableToOpenFileException (const string &fileName)
 Constructor. More...
 

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

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

Constructor.

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

Member Function Documentation

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: