Author: chris.laprun(a)jboss.com
Date: 2011-08-24 12:25:16 -0400 (Wed, 24 Aug 2011)
New Revision: 7212
Modified:
components/wsrp/trunk/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ConsumerManagerBean.java
Log:
- Create error message on all exceptions, not just PortletInvokerExceptions.
Modified:
components/wsrp/trunk/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ConsumerManagerBean.java
===================================================================
---
components/wsrp/trunk/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ConsumerManagerBean.java 2011-08-24
16:23:20 UTC (rev 7211)
+++
components/wsrp/trunk/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ConsumerManagerBean.java 2011-08-24
16:25:16 UTC (rev 7212)
@@ -24,7 +24,6 @@
package org.gatein.wsrp.admin.ui;
import org.gatein.common.util.ParameterValidation;
-import org.gatein.pc.api.PortletInvokerException;
import org.gatein.wsrp.WSRPConsumer;
import org.gatein.wsrp.consumer.ProducerInfo;
import org.gatein.wsrp.consumer.RefreshResult;
@@ -311,7 +310,7 @@
}
return result;
}
- catch (PortletInvokerException e)
+ catch (Exception e)
{
beanContext.createErrorMessageFrom(e);
return null;
Show replies by date