portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r394076 - /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/tools/pamanager/PortletApplicationManager.java
Date Fri, 14 Apr 2006 12:49:25 GMT
Author: ate
Date: Fri Apr 14 05:49:23 2006
New Revision: 394076

URL: http://svn.apache.org/viewcvs?rev=394076&view=rev
Log:
On second thought: better log the exception and only throw the message
See: JS2-450

Modified:
    portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/tools/pamanager/PortletApplicationManager.java

Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/tools/pamanager/PortletApplicationManager.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/tools/pamanager/PortletApplicationManager.java?rev=394076&r1=394075&r2=394076&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/tools/pamanager/PortletApplicationManager.java
(original)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/tools/pamanager/PortletApplicationManager.java
Fri Apr 14 05:49:23 2006
@@ -269,8 +269,8 @@
 		{
 			String msg = "Failed to load portlet application for "
 				+ paWar.getPortletApplicationName();
-			log.error(msg);
-			throw new RegistryException(msg, e);
+			log.error(msg, e);
+			throw new RegistryException(msg);
 		}
 
 		// register the portlet application



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message