aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirk Fauth2014-04-03 04:06:03 (EDT)
committerPaul Webster2014-04-03 15:11:51 (EDT)
commit5b37dc0c3450f0f821055ba4895f8b59a9e597a0 (patch)
tree3522c206acd316502c4f9391360d98940b9dbd29
parent92a9cb0ecc1150c962342cc6e184785845b6fce4 (diff)
downloadeclipse.platform.ui-5b37dc0c3450f0f821055ba4895f8b59a9e597a0.zip
eclipse.platform.ui-5b37dc0c3450f0f821055ba4895f8b59a9e597a0.tar.gz
eclipse.platform.ui-5b37dc0c3450f0f821055ba4895f8b59a9e597a0.tar.bz2
Bug 431308 - Improved fault tolerance on setting a Localerefs/changes/70/24370/2
Change-Id: I7d3666bee18588f9013cb26438f9561a5b61d0d3 Signed-off-by: Dirk Fauth <dirk.fauth@googlemail.com>
-rw-r--r--bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/LocaleChangeServiceImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/LocaleChangeServiceImpl.java b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/LocaleChangeServiceImpl.java
index cfc8693..4a16f1f 100644
--- a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/LocaleChangeServiceImpl.java
+++ b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/LocaleChangeServiceImpl.java
@@ -83,9 +83,9 @@ public class LocaleChangeServiceImpl implements ILocaleChangeService {
// fire event
broker.post(LOCALE_CHANGE, locale);
- } catch (IllegalArgumentException e) {
- // parsing the locale String to a Locale failed because of invalid
- // String - there is no locale change performed
+ } catch (Exception e) {
+ // performing a locale update failed
+ // there is no locale change performed
if (logService != null)
logService.log(LogService.LOG_ERROR, e.getMessage()
+ " - No Locale change will be performed."); //$NON-NLS-1$