summaryrefslogtreecommitdiffstats
path: root/stoc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-05 16:20:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-09 08:46:34 +0200
commit48fbfe38f60de731ff8bec0372179bedd6670af4 (patch)
tree2a1bbc4a2207d049d38c058d7f4ebb06a4f01182 /stoc
parentstd::list->std::vector in SubsetMap (diff)
downloadcore-48fbfe38f60de731ff8bec0372179bedd6670af4.tar.gz
core-48fbfe38f60de731ff8bec0372179bedd6670af4.zip
use more DBG_UNHANDLED_EXCEPTION
so we get nice logs of the exception dynamic type for UNO exceptions. Change-Id: Ic0b10dc14d354a2c9a0591b3a51d2f1640d54bdb Reviewed-on: https://gerrit.libreoffice.org/52465 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'stoc')
-rw-r--r--stoc/test/javavm/testjavavm.cxx2
-rw-r--r--stoc/test/testconv.cxx2
-rw-r--r--stoc/test/testcorefl.cxx2
-rw-r--r--stoc/test/testintrosp.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/stoc/test/javavm/testjavavm.cxx b/stoc/test/javavm/testjavavm.cxx
index d7602359c660..c2c26efebb36 100644
--- a/stoc/test/javavm/testjavavm.cxx
+++ b/stoc/test/javavm/testjavavm.cxx
@@ -138,7 +138,7 @@ SAL_IMPLEMENT_MAIN()
}
catch (const Exception & rExc)
{
- SAL_WARN("stoc", "### exception occurred: " << rExc );
+ DBG_UNHANDLED_EXCEPTION("stoc", "### exception occurred: " << rExc );
}
Reference< XComponent > xCompContext( context, UNO_QUERY );
diff --git a/stoc/test/testconv.cxx b/stoc/test/testconv.cxx
index 2ed6fd712505..165f073912ed 100644
--- a/stoc/test/testconv.cxx
+++ b/stoc/test/testconv.cxx
@@ -671,7 +671,7 @@ SAL_IMPLEMENT_MAIN()
}
catch (const Exception & rExc)
{
- SAL_WARN("stoc", "### exception occurred: " << rExc );
+ DBG_UNHANDLED_EXCEPTION("stoc", "### exception occurred: " << rExc );
}
Reference< XComponent >( xMgr, UNO_QUERY )->dispose();
diff --git a/stoc/test/testcorefl.cxx b/stoc/test/testcorefl.cxx
index 98aa7d768cda..26e469c64063 100644
--- a/stoc/test/testcorefl.cxx
+++ b/stoc/test/testcorefl.cxx
@@ -367,7 +367,7 @@ SAL_IMPLEMENT_MAIN()
}
catch (const Exception & rExc)
{
- SAL_WARN("stoc", "### exception occurred: " << rExc );
+ DBG_UNHANDLED_EXCEPTION("stoc", "### exception occurred: " << rExc );
}
printf( "testcorefl %s !\n", (bSucc ? "succeeded" : "failed") );
diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx
index c9c7aed33041..f6888b504bf9 100644
--- a/stoc/test/testintrosp.cxx
+++ b/stoc/test/testintrosp.cxx
@@ -1190,7 +1190,7 @@ SAL_IMPLEMENT_MAIN()
}
catch (const Exception & rExc)
{
- SAL_WARN("stoc", "### exception occurred: " << rExc );
+ DBG_UNHANDLED_EXCEPTION("stoc", "### exception occurred: " << rExc );
}
Reference< XComponent >( xMgr, UNO_QUERY )->dispose();