Author: ate Date: Tue May 23 20:26:41 2006 New Revision: 409057 URL: http://svn.apache.org/viewvc?rev=409057&view=rev Log: No need to log *and* throw exceptions when the receiver of the exception already will log itself too.
Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/util/descriptor/PortletApplicationDescriptor.java Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/util/descriptor/PortletApplicationDescriptor.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/util/descriptor/PortletApplicationDescriptor.java?rev=409057&r1=409056&r2=409057&view=diff ============================================================================== --- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/util/descriptor/PortletApplicationDescriptor.java (original) +++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/util/descriptor/PortletApplicationDescriptor.java Tue May 23 20:26:41 2006 @@ -190,9 +190,7 @@ } catch (Throwable t) { - t.printStackTrace(); String msg = "Could not unmarshal portlet.xml. " + t.toString(); - log.error(msg, t); throw new PortletApplicationException(msg, t); } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]