Class sdm::exception::FileNotFoundException
Class List > sdm > exception > FileNotFoundException
File not found exception.
#include <exception.hpp>
Inherits the following classes: sdm::exception::Exception
Public Functions
Type | Name |
---|---|
FileNotFoundException (std::string file_) | |
std::string | get_file () const Get the name of the file not found. |
Public Functions inherited from sdm::exception::Exception
Type | Name |
---|---|
Exception (const std::string & msg_) Constructor (C++ STL string). | |
virtual const char * | what () const Returns a pointer to the (constant) error description. |
Protected Attributes inherited from sdm::exception::Exception
Type | Name |
---|---|
std::string | error_message Error message. |
Public Functions Documentation
function FileNotFoundException
explicit sdm::exception::FileNotFoundException::FileNotFoundException (
std::string file_
)
Constructor (C++ STL string).
Parameters:
file_
The file
function get_file
std::string sdm::exception::FileNotFoundException::get_file () const
Returns:
the filename
The documentation for this class was generated from the following file src/sdm/exception.hpp