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 /binaryurp/source/bridge.cxx | |
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 'binaryurp/source/bridge.cxx')
-rw-r--r-- | binaryurp/source/bridge.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx index 9a02085b3182..a31722418864 100644 --- a/binaryurp/source/bridge.cxx +++ b/binaryurp/source/bridge.cxx @@ -296,7 +296,7 @@ void Bridge::terminate(bool final) { try { connection_->close(); } catch (const css::io::IOException & e) { - SAL_INFO("binaryurp", "caught IO exception '" << e.Message << '\''); + SAL_INFO("binaryurp", "caught IO exception '" << e << '\''); } assert(w.is()); w->stop(); @@ -331,9 +331,7 @@ void Bridge::terminate(bool final) { css::lang::EventObject( static_cast< cppu::OWeakObject * >(this))); } catch (const css::uno::RuntimeException & e) { - SAL_WARN( - "binaryurp", - "caught runtime exception '" << e.Message << '\''); + SAL_WARN("binaryurp", "caught " << e); } } } @@ -532,7 +530,7 @@ void Bridge::freeProxy(Proxy & proxy) { makeReleaseCall(proxy.getOid(), proxy.getType()); } catch (const css::uno::RuntimeException & e) { SAL_INFO( - "binaryurp", "caught runtime exception '" << e.Message << '\''); + "binaryurp", "caught runtime exception '" << e << '\''); } catch (const std::exception & e) { SAL_WARN("binaryurp", "caught C++ exception '" << e.what() << '\''); } @@ -642,8 +640,7 @@ void Bridge::handleRequestChangeReply( } SAL_WARN( "binaryurp", - "requestChange caught RuntimeException \'" << e.Message - << "' in state 'requested'"); + "requestChange caught " << e << " in state 'requested'"); mode_ = MODE_NORMAL; getWriter()->unblock(); decrementCalls(); |