Exception indicating that a file or a directory was not found.
More...
#include <Error.h>
|
| | PathNotFound (const std::string &message, const std::string &filename="", bool isdir=false) |
| | Create a missing file or directory exception. More...
|
| |
| virtual const char * | what () const throw () |
| | Reports "File/Directory not found" as the error type. More...
|
| |
| | Runtime (const std::string &error_message="") |
| | Create a runtime exception. More...
|
| |
| | General (const std::string &error_message="") |
| | Create an exception. More...
|
| |
| const std::string & | get_message () |
| | Details about what caused the error. More...
|
| |
| virtual | ~General () throw () |
| | Cleanup if necessary. More...
|
| |
Exception indicating that a file or a directory was not found.
Definition at line 98 of file Error.h.
◆ PathNotFound()
| Core::Error::PathNotFound::PathNotFound |
( |
const std::string & |
message, |
|
|
const std::string & |
filename = "", |
|
|
bool |
isdir = false |
|
) |
| |
|
inline |
Create a missing file or directory exception.
Definition at line 104 of file Error.h.
◆ what()
| virtual const char* Core::Error::PathNotFound::what |
( |
| ) |
const |
| throw | ( | |
| ) | | |
|
inlinevirtual |
◆ directory
| bool Core::Error::PathNotFound::directory |
|
private |
Whether the problem was with a directory and not a file.
Definition at line 101 of file Error.h.
The documentation for this class was generated from the following file:
- /home/kpenev/projects/git/poet/poet_src/Core/Error.h