diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-26 21:23:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-26 21:25:20 +0100 |
commit | 5b40565e6a47b8f3a655d1c10adc61b71de29d6b (patch) | |
tree | 198571a5b73571698d3899fddd54a60a99b8d115 /package | |
parent | 6b5fb7ef6ab6e3bf555fa707f53e68dd07da9125 (diff) |
coverity#706594 Uncaught exception
Change-Id: Iad8f124706789299f36127f0d0fd0a47db07bace
Diffstat (limited to 'package')
-rw-r--r-- | package/source/zippackage/zipfileaccess.cxx | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/package/source/zippackage/zipfileaccess.cxx b/package/source/zippackage/zipfileaccess.cxx index a660d3ed7a48..688f389df319 100644 --- a/package/source/zippackage/zipfileaccess.cxx +++ b/package/source/zippackage/zipfileaccess.cxx @@ -252,7 +252,19 @@ uno::Any SAL_CALL OZipFileAccess::getByName( const OUString& aName ) false, m_aMutexHolder); } - catch (const io::IOException& e) + catch (const container::NoSuchElementException&) + { + throw; + } + catch (const lang::WrappedTargetException&) + { + throw; + } + catch (const uno::RuntimeException&) + { + throw; + } + catch (const uno::Exception& e) { throw lang::WrappedTargetException( "This package is unusable!", static_cast < OWeakObject * > ( this ), |