summaryrefslogtreecommitdiff
path: root/ios/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-10-31 20:30:24 +0200
committerTor Lillqvist <tml@collabora.com>2018-10-31 22:14:32 +0200
commit97be9270868990d3d45b29724c8fdc3598d2a64c (patch)
tree416a020d1c81ab68a7c88d41fa65c08ef0f80046 /ios/source
parent741e19f7d1e17b3eb6e47ba9b71bd708ea5d5d98 (diff)
Handle also css::ucb::NameClashException>(aException
Change-Id: I979a163e796418d9a693229698b638cec4bf2226
Diffstat (limited to 'ios/source')
-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);
}