diff options
Diffstat (limited to 'desktop/source/deployment')
-rw-r--r-- | desktop/source/deployment/manager/dp_manager.cxx | 11 | ||||
-rw-r--r-- | desktop/source/deployment/registry/dp_backend.cxx | 3 |
2 files changed, 4 insertions, 10 deletions
diff --git a/desktop/source/deployment/manager/dp_manager.cxx b/desktop/source/deployment/manager/dp_manager.cxx index 4d54abcf6d40..8f469ed545c9 100644 --- a/desktop/source/deployment/manager/dp_manager.cxx +++ b/desktop/source/deployment/manager/dp_manager.cxx @@ -940,9 +940,6 @@ void PackageManagerImpl::removePackage( catch (const RuntimeException &) { throw; } - catch (const lang::IllegalArgumentException &) { - throw; - } catch (const CommandFailedException & exc) { logIntern( Any(exc) ); throw; @@ -1089,14 +1086,14 @@ Reference<deployment::XPackage> PackageManagerImpl::getDeployedPackage( const ::osl::MutexGuard guard( getMutex() ); return getDeployedPackage_( id, fileName, xCmdEnv ); } - catch (const RuntimeException &) { + catch (const lang::IllegalArgumentException & exc) { + logIntern( Any(exc) ); throw; } - catch (const CommandFailedException & exc) { - logIntern( Any(exc) ); + catch (const RuntimeException &) { throw; } - catch (const lang::IllegalArgumentException & exc) { + catch (const CommandFailedException & exc) { logIntern( Any(exc) ); throw; } diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx index a142d358793c..955a5acd8897 100644 --- a/desktop/source/deployment/registry/dp_backend.cxx +++ b/desktop/source/deployment/registry/dp_backend.cxx @@ -177,9 +177,6 @@ Reference<deployment::XPackage> PackageRegistryBackend::bindPackage( catch (const RuntimeException &) { throw; } - catch (const lang::IllegalArgumentException &) { - throw; - } catch (const CommandFailedException &) { throw; } |