diff options
author | kh <karsten.heimrich@theqtcompany.com> | 2014-11-24 13:03:17 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2014-11-24 17:44:58 +0100 |
commit | 68b3092d32a285850bd55ed4ac4f66a335c02ba0 (patch) | |
tree | cab771ecef1cfffc55bf40604c0f36585775247d /src/libs/installer/metadatajob.cpp | |
parent | bdb0247bea51ed296ae31ea2efaff3380607a00e (diff) |
Rename the exceptions class to be more generic.
Change-Id: Ia96477920055ee6a6f15be1334516746ddf3573b
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/metadatajob.cpp')
-rw-r--r-- | src/libs/installer/metadatajob.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/metadatajob.cpp b/src/libs/installer/metadatajob.cpp index 6cb5652c2..ead3dd922 100644 --- a/src/libs/installer/metadatajob.cpp +++ b/src/libs/installer/metadatajob.cpp @@ -136,7 +136,7 @@ void MetadataJob::xmlTaskFinished() reset(); emitFinishedWithError(QInstaller::DownloadError, tr("Missing proxy credentials.")); } - } catch (const FileTaskException &e) { + } catch (const TaskException &e) { reset(); emitFinishedWithError(QInstaller::DownloadError, e.message()); } catch (const QUnhandledException &e) { @@ -218,7 +218,7 @@ void MetadataJob::metadataTaskFinished() } else { emitFinished(); } - } catch (const FileTaskException &e) { + } catch (const TaskException &e) { reset(); emitFinishedWithError(QInstaller::DownloadError, e.message()); } catch (const QUnhandledException &e) { |