| 1 | // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/exceptions/feedfetchexception.h`/ |
| 2 | |
| 3 | #ifndef FEEDFETCHEXCEPTION_H |
| 4 | #define FEEDFETCHEXCEPTION_Hcxx . . $ `src/librssguard/exceptions/feedfetchexception.h:4:9`! |
| 5 | |
| 6 | #include "exceptions/applicationexception.h"cxx . . $ `<file>/src/librssguard/exceptions/applicationexception.h`/ |
| 7 | #include "services/abstract/feed.h"cxx . . $ `<file>/src/librssguard/services/abstract/feed.h`/ |
| 8 | |
| 9 | class RSSGUARD_DLLSPECcxx . . $ `<built-in>:525:9`! FeedFetchExceptioncxx . . $ FeedFetchException# : public ApplicationExceptioncxx . . $ ApplicationException# { |
| 10 | public: |
| 11 | // "data" parameter should contain this, depending on "feed_status": |
| 12 | // - Feed::Status::NetworkError -> NetworkResult instance |
| 13 | // - other feed status values -> arbitrary data |
| 14 | explicit FeedFetchExceptioncxx . . $ FeedFetchException#FeedFetchException(523ce94fb10c4b68).(Feedcxx . . $ Feed#::Statuscxx . . $ Feed#Status# feed_status, const QStringcxx . . $ QString#& message =cxx . . $ QString#QString(ced63f7c635d850d). {}, const QVariantcxx . . $ QVariant#& data =cxx . . $ QVariant#QVariant(ced63f7c635d850d). {}); |
| 15 | |
| 16 | Feedcxx . . $ Feed#::Statuscxx . . $ Feed#Status# feedStatuscxx . . $ FeedFetchException#feedStatus(3ef043b41d362a5c).() const; |
| 17 | QVariantcxx . . $ QVariant# datacxx . . $ FeedFetchException#data(23280f95d1ccaa1f).() const; |
| 18 | |
| 19 | private: |
| 20 | QVariantcxx . . $ QVariant# m_datacxx . . $ FeedFetchException#m_data.; |
| 21 | Feedcxx . . $ Feed#::Statuscxx . . $ Feed#Status# m_feedStatuscxx . . $ FeedFetchException#m_feedStatus.; |
| 22 | }; |
| 23 | |
| 24 | #endif // FEEDFETCHEXCEPTION_H |