summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2013-01-03 07:53:48 (EST)
committerStephan Born2013-01-25 13:19:08 (EST)
commit5b243f47f57e3ec1617809dcf5a7827ba96e5ad8 (patch)
tree6d1686917894a54e2a65b04ba7b2f251a15d840f
parentedaa795eb09a0c1090dc29af2e00ca1de3677941 (diff)
downloadorg.eclipse.stardust.ui.web-5b243f47f57e3ec1617809dcf5a7827ba96e5ad8.zip
org.eclipse.stardust.ui.web-5b243f47f57e3ec1617809dcf5a7827ba96e5ad8.tar.gz
org.eclipse.stardust.ui.web-5b243f47f57e3ec1617809dcf5a7827ba96e5ad8.tar.bz2
Jira-ID: CRNT-26647
Changed UnsupportedEncodingException to generic Exception block in parseParams(String params) in View.java git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@61793 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/View.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/View.java b/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/View.java
index e3283c1..79da2ce 100644
--- a/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/View.java
+++ b/portal-common/src/main/java/org/eclipse/stardust/ui/web/common/app/View.java
@@ -295,14 +295,14 @@ public class View extends AbstractUiElement implements TabScopeManager
if ( !isEmpty(name))
{
- try
- {
- viewParams.put(name, URLDecoder.decode(value, "UTF-8"));
- }
- catch (UnsupportedEncodingException e)
- {
- viewParams.put(name, value);
- }
+ try
+ {
+ viewParams.put(name, URLDecoder.decode(value, "UTF-8"));
+ }
+ catch (Exception e)
+ {
+ viewParams.put(name, value);
+ }
}
}
}