The FileParseError class.
More...
#include <exceptions.h>
|
| FileParseError ()=delete |
| Default Constructor.
|
|
| FileParseError (const char *file, int line, const FilePath &filePath, const QString &invalidFileContent=QString(), const QString &msg=QString("File Parse Error")) noexcept |
| The constructor which is used to throw an exception.
|
|
| FileParseError (const FileParseError &other) noexcept |
| The copy constructor (needed for clone())
|
|
virtual void | raise () const override |
|
virtual FileParseError * | clone () const override |
|
| RuntimeError ()=delete |
| Default Constructor.
|
|
| RuntimeError (const char *file, int line, const QString &msg=QString("Runtime Error")) noexcept |
| The default constructor.
|
|
| RuntimeError (const RuntimeError &other) noexcept |
| The copy constructor (needed for clone())
|
|
virtual | ~RuntimeError () noexcept |
| Destructor.
|
|
| Exception ()=delete |
| The default constructor.
|
|
| Exception (const Exception &other) noexcept |
| The copy constructor (needed for clone())
|
|
| Exception (const char *file, int line, const QString &msg=QString("Exception")) noexcept |
| The constructor which is used to throw an exception.
|
|
virtual | ~Exception () noexcept |
| The destructor.
|
|
const QString & | getMsg () const |
| Get the error message (translated)
|
|
const QString & | getFile () const |
| Get the source file where the exception was thrown.
|
|
int | getLine () const |
| Get the line number where the exception was thrown.
|
|
const char * | what () const noexcept override |
| reimplemented from std::exception::what()
|
|
The FileParseError class.
This exception class is used for errors while parsing files due to invalid file content (for example invalid syntax).
- See also
- Exception
◆ FileParseError() [1/3]
◆ FileParseError() [2/3]
FileParseError |
( |
const char * |
file, |
|
|
int |
line, |
|
|
const FilePath & |
filePath, |
|
|
const QString & |
invalidFileContent = QString() , |
|
|
const QString & |
msg = QString("File Parse Error") |
|
) |
| |
|
noexcept |
The constructor which is used to throw an exception.
- Parameters
-
◆ FileParseError() [3/3]
The copy constructor (needed for clone())
◆ raise()
virtual void raise |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ clone()
The documentation for this class was generated from the following files: