summaryrefslogtreecommitdiffstats
path: root/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-10-31 20:30:24 +0200
committerTor Lillqvist <tml@collabora.com>2018-11-01 22:32:39 +0100
commita97e3a59644a8c30486e4ade1bd883ee26a0282d (patch)
treeb537924726c1689bfea2920a6761273251f0b7d9 /ios
parentCurrent iOS SDK is 12.1 (diff)
downloadcore-a97e3a59644a8c30486e4ade1bd883ee26a0282d.tar.gz
core-a97e3a59644a8c30486e4ade1bd883ee26a0282d.zip
Handle also css::ucb::NameClashException
Change-Id: I979a163e796418d9a693229698b638cec4bf2226 Reviewed-on: https://gerrit.libreoffice.org/62708 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'ios')
-rw-r--r--ios/source/ios.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/ios/source/ios.cxx b/ios/source/ios.cxx
index 36aaa245f76d..bc89150e7ed6 100644
--- a/ios/source/ios.cxx
+++ b/ios/source/ios.cxx
@@ -8,9 +8,11 @@
*/
#include <cassert>
+#include <iostream>
#include "com/sun/star/uno/Any.hxx"
#include "com/sun/star/ucb/InteractiveAugmentedIOException.hpp"
+#include "com/sun/star/ucb/NameClashException.hpp"
#include "ios/ios.hxx"
namespace
@@ -28,8 +30,12 @@ void lo_ios_throwException(css::uno::Any const& aException)
assert(aException.getValueTypeClass() == css::uno::TypeClass_EXCEPTION);
tryThrow<css::ucb::InteractiveAugmentedIOException>(aException);
+ tryThrow<css::ucb::NameClashException>(aException);
tryThrow<css::uno::RuntimeException>(aException);
+ std::cerr << "lo_ios_throwException: Unhandled exception type " << aException.getValueTypeName()
+ << std::endl;
+
assert(false);
}