Author: chris.laprun(a)jboss.com
Date: 2010-10-25 09:52:20 -0400 (Mon, 25 Oct 2010)
New Revision: 4818
Modified:
components/wsrp/trunk/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ConsumerBean.java
Log:
- GTNWSRP-109: Properly catch all exceptions so that we can display an error message
instead of crashing.
Modified:
components/wsrp/trunk/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ConsumerBean.java
===================================================================
---
components/wsrp/trunk/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ConsumerBean.java 2010-10-25
13:23:48 UTC (rev 4817)
+++
components/wsrp/trunk/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ConsumerBean.java 2010-10-25
13:52:20 UTC (rev 4818)
@@ -636,7 +636,7 @@
return ConsumerManagerBean.CONSUMERS;
}
- catch (PortletInvokerException e)
+ catch (Exception e)
{
beanContext.createErrorMessageFrom(e);
return null;