[gatein-commits] gatein SVN: r2219 - portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Mar 12 08:56:32 EST 2010


Author: chris.laprun at jboss.com
Date: 2010-03-12 08:56:32 -0500 (Fri, 12 Mar 2010)
New Revision: 2219

Modified:
   portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/ExoKernelIntegration.java
Log:
- Added cause exception for better error reporting.

Modified: portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/ExoKernelIntegration.java
===================================================================
--- portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/ExoKernelIntegration.java	2010-03-12 13:41:02 UTC (rev 2218)
+++ portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/ExoKernelIntegration.java	2010-03-12 13:56:32 UTC (rev 2219)
@@ -35,7 +35,6 @@
 import org.gatein.pc.portlet.container.ContainerPortletInvoker;
 import org.gatein.pc.portlet.impl.state.StateConverterV0;
 import org.gatein.pc.portlet.impl.state.StateManagementPolicyService;
-import org.gatein.pc.portlet.impl.state.producer.PortletStatePersistenceManagerService;
 import org.gatein.pc.portlet.state.StateConverter;
 import org.gatein.pc.portlet.state.producer.PortletStatePersistenceManager;
 import org.gatein.pc.portlet.state.producer.ProducerPortletInvoker;
@@ -264,7 +263,7 @@
       }
       catch (Exception e)
       {
-         throw new RuntimeException("Couldn't stop WSRP consumers registry.");
+         throw new RuntimeException("Couldn't stop WSRP consumers registry.", e);
       }
 
       consumerRegistry = null;



More information about the gatein-commits mailing list