diff options
-rw-r--r-- | desktop/source/deployment/registry/dp_backend.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx index 429a6f71ce52..07cadb6a4f42 100644 --- a/desktop/source/deployment/registry/dp_backend.cxx +++ b/desktop/source/deployment/registry/dp_backend.cxx @@ -669,6 +669,15 @@ void Package::processPackage_impl( xCmdEnv ); } } + catch (lang::IllegalArgumentException &) { + Any e(cppu::getCaughtException()); + throw deployment::DeploymentException( + ((doRegisterPackage + ? getResourceString(RID_STR_ERROR_WHILE_REGISTERING) + : getResourceString(RID_STR_ERROR_WHILE_REVOKING)) + + getDisplayName()), + static_cast< OWeakObject * >(this), e); + } catch (const RuntimeException &e) { SAL_WARN( "desktop.deployment", |