| 1 | // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/exceptions/scriptexception.h`/ |
| 2 | |
| 3 | #ifndef SCRIPTEXCEPTION_H |
| 4 | #define SCRIPTEXCEPTION_Hcxx . . $ `src/librssguard/exceptions/scriptexception.h:4:9`! |
| 5 | |
| 6 | #include "exceptions/applicationexception.h"cxx . . $ `<file>/src/librssguard/exceptions/applicationexception.h`/ |
| 7 | |
| 8 | #include <QCoreApplication> |
| 9 | |
| 10 | class RSSGUARD_DLLSPECcxx . . $ `<built-in>:525:9`! ScriptExceptioncxx . . $ ScriptException# : public ApplicationExceptioncxx . . $ ApplicationException# { |
| 11 | Q_DECLARE_TR_FUNCTIONScxx . . $ ScriptException#tr(75d9f1c324b4579d).(ScriptException) |
| 12 | |
| 13 | public: |
| 14 | enum class Reasoncxx . . $ ScriptException#Reason# { |
| 15 | ExecutionLineInvalidcxx . . $ ScriptException#Reason#ExecutionLineInvalid., |
| 16 | InterpreterNotFoundcxx . . $ ScriptException#Reason#InterpreterNotFound., |
| 17 | InterpreterErrorcxx . . $ ScriptException#Reason#InterpreterError., |
| 18 | InterpreterTimeoutcxx . . $ ScriptException#Reason#InterpreterTimeout., |
| 19 | OtherErrorcxx . . $ ScriptException#Reason#OtherError. |
| 20 | }; |
| 21 | |
| 22 | explicit ScriptExceptioncxx . . $ ScriptException#ScriptException(25ffd164b4e810cc).(Reasoncxx . . $ ScriptException#Reason# reason = Reasoncxx . . $ ScriptException#Reason#::OtherErrorcxx . . $ ScriptException#Reason#OtherError., const QStringcxx . . $ QString#& message = QStringcxx . . $ QString#QString(ced63f7c635d850d).()); |
| 23 | |
| 24 | Reasoncxx . . $ ScriptException#Reason# reasoncxx . . $ ScriptException#reason(78ecade694679fed).() const; |
| 25 | |
| 26 | private: |
| 27 | QStringcxx . . $ QString# messageForReasoncxx . . $ ScriptException#messageForReason(4b5ac30c28c3b3b2).(Reasoncxx . . $ ScriptException#Reason# reason) const; |
| 28 | |
| 29 | private: |
| 30 | Reasoncxx . . $ ScriptException#Reason# m_reasoncxx . . $ ScriptException#m_reason.; |
| 31 | }; |
| 32 | |
| 33 | #endif // SCRIPTEXCEPTION_H |