![]() |
API Documentation
|
An Exception that contains information about a runtime error with a particular File. This is typically thrown when an action with a file causes an error to occur within the NDEVR API. More...
#include <Exception.h>
Public Types | |
| enum | ExceptionType { e_generic , e_no_open , e_already_open , e_does_not_exist , e_file_exits , e_file_invalid , e_checksum_failed , e_not_supported , e_no_create } |
Public Member Functions | |
| FileException (const File &file, const TranslatedString &message, ExceptionType type=e_generic) | |
| FileException (const File &file, ExceptionType type=e_generic) | |
| const File & | getFile () const |
| ExceptionType | getType () const |
Public Member Functions inherited from Exception | |
| Exception (const std::exception &exception) | |
| Exception (const String &title, const bool &capture_stack=true) | |
| Exception (const TranslatedString &title, const bool &capture_stack=true) | |
| Exception (const TranslatedString &title, const TranslatedString &message, const bool &capture_stack=true) | |
| virtual const TranslatedString & | getCategory () const |
| virtual TranslatedString | getMessage () const |
| virtual uint04 | getPriority () const |
| virtual const TranslatedString & | getTitle () const |
| UUID | id () const |
| void | printToLogger () |
| void | setCategory (const TranslatedString &category) |
| virtual void | setMessage (const TranslatedString &message) |
| void | setThread (const String &thread) |
| void | setTitle (const TranslatedString &title) |
| virtual const String & | stackTrace () const |
| const String & | thread () const |
| virtual | ~Exception ()=default |
Additional Inherited Members | |
Protected Attributes inherited from Exception | |
| TranslatedString | m_category |
| TranslatedString | m_message |
| uint04 | m_priority |
| String | m_stack_trace |
| String | m_thread |
| TranslatedString | m_title |
An Exception that contains information about a runtime error with a particular File. This is typically thrown when an action with a file causes an error to occur within the NDEVR API.
| enum ExceptionType |
|
explicit |
| FileException | ( | const File & | file, |
| const TranslatedString & | message, | ||
| ExceptionType | type = e_generic ) |
|
inline |
|
inline |