FactDev  0.1
fileexception.h
1 #ifndef FILEEXCEPTION_H
2 #define FILEEXCEPTION_H
3 #include <exception>
4 #include <sstream>
5 #include <iostream>
6 #include <stdexcept>
7 
8 #include <QMessageBox>
9 
10 #include "utils/log.h"
11 
12 namespace Exceptions {
18 {
19 public:
27  FileException(const QString userError, const QString fctName,
28  const QString logError, float errorCode);
29  ~FileException();
30 
36  void popupMessage(QWidget *parent);
37 private:
38 
39  QString _userError;
40 };
41 }
42 #endif // FILEEXCEPTION_H
void popupMessage(QWidget *parent)
FileException::popupMessage. Display a popup message with the message error.
Definition: fileexception.cpp:27
FileException(const QString userError, const QString fctName, const QString logError, float errorCode)
FileException::FileException. Construct a FileException.
Definition: fileexception.cpp:4
The FileException class for file/acess file exception.
Definition: fileexception.h:17