33#include <NDEVR/File.h>
An Exception thrown when the user cancels an operation. This is not a true error but designed to be u...
Definition Exception.h:73
CancelException(const TranslatedString &message)
Provides consistent interface to handle errors through the throw expression. All exceptions generated...
Definition Exception.hpp:47
An Exception that contains information about a runtime error with a particular File....
Definition Exception.h:43
ExceptionType
Definition Exception.h:46
@ e_file_exits
Definition Exception.h:51
@ e_file_invalid
Definition Exception.h:52
@ e_no_create
Definition Exception.h:55
@ e_does_not_exist
Definition Exception.h:50
@ e_not_supported
Definition Exception.h:54
@ e_no_open
Definition Exception.h:48
@ e_generic
Definition Exception.h:47
@ e_already_open
Definition Exception.h:49
@ e_checksum_failed
Definition Exception.h:53
ExceptionType getType() const
Definition Exception.h:62
FileException(const File &file, const TranslatedString &message, ExceptionType type=e_generic)
FileException(const File &file, ExceptionType type=e_generic)
const File & getFile() const
Definition Exception.h:61
Logic for reading or writing to a file as well as navigating filesystems.
Definition File.h:48
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
Definition TranslatedString.h:13