diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-29 16:21:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-04 15:18:00 +0200 |
commit | 2c05d758b2b62c9df413e2514fb3cd233d0f3ec7 (patch) | |
tree | e0a23d3da6fb17ae97d18957fc14f4a4a8de2d3f /desktop/source/deployment/registry | |
parent | a3088b1e72ef17babe3d3664c610afd02cfe0891 (diff) |
add << operator for css::uno::Exception
Change-Id: Ia23dafd07133779144965682df3b7125a3214235
Reviewed-on: https://gerrit.libreoffice.org/43046
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'desktop/source/deployment/registry')
3 files changed, 5 insertions, 9 deletions
diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx index 4c5805b4b54a..bfac300cd95e 100644 --- a/desktop/source/deployment/registry/component/dp_component.cxx +++ b/desktop/source/deployment/registry/component/dp_component.cxx @@ -1394,13 +1394,11 @@ void BackendImpl::ComponentPackageImpl::processPackage_( componentLiveInsertion(data, factories); } catch (css::uno::Exception & e) { SAL_INFO( - "desktop.deployment", "caught Exception " << e.Message); + "desktop.deployment", "caught " << e); try { impreg->revokeImplementation(url, rdb); } catch (css::uno::RuntimeException & e2) { - SAL_WARN( - "desktop.deployment", - "ignored RuntimeException " << e2.Message); + SAL_WARN("desktop.deployment", "ignored " << e2); } throw; } diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx index f55910f13699..8bebe6cbec98 100644 --- a/desktop/source/deployment/registry/dp_backend.cxx +++ b/desktop/source/deployment/registry/dp_backend.cxx @@ -648,9 +648,7 @@ void Package::processPackage_impl( static_cast< OWeakObject * >(this), e); } catch (const RuntimeException &e) { - SAL_WARN( - "desktop.deployment", - "unexpected RuntimeException \"" << e.Message << '"'); + SAL_WARN("desktop.deployment", "unexpected " << e); throw; } catch (const CommandFailedException &) { diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx index d3d29d904dfc..af12c6b09f3f 100644 --- a/desktop/source/deployment/registry/package/dp_package.cxx +++ b/desktop/source/deployment/registry/package/dp_package.cxx @@ -1059,7 +1059,7 @@ void BackendImpl::PackageImpl::exportTo( ::cppu::getCaughtException() ) ); } catch (const lang::IllegalArgumentException & exc) { - SAL_WARN( "desktop", exc.Message ); + SAL_WARN( "desktop", exc ); } std::vector< Sequence<beans::PropertyValue> > manifest; @@ -1141,7 +1141,7 @@ void BackendImpl::PackageImpl::exportTo( catch (const css::ucb::ContentCreationException &e) { SAL_WARN( - "desktop.deployment", "exception on overwriting manifest: " << e.Message); + "desktop.deployment", "exception on overwriting manifest: " << e); } if (!bSuccess) |