Author: mwringe
Date: 2010-03-19 10:05:41 -0400 (Fri, 19 Mar 2010)
New Revision: 2307
Modified:
portal/trunk/component/pc/src/main/java/org/exoplatform/services/portletcontainer/PortletContainerException.java
Log:
GTNPORTAL-897: Creating a portlet container exception shouldn't automatically print
the stacktrace. Whatever catches the exception should decide what to do with it. This will
prevent the issue with exceptions appearing twice in the logs.
Modified:
portal/trunk/component/pc/src/main/java/org/exoplatform/services/portletcontainer/PortletContainerException.java
===================================================================
---
portal/trunk/component/pc/src/main/java/org/exoplatform/services/portletcontainer/PortletContainerException.java 2010-03-19
07:33:20 UTC (rev 2306)
+++
portal/trunk/component/pc/src/main/java/org/exoplatform/services/portletcontainer/PortletContainerException.java 2010-03-19
14:05:41 UTC (rev 2307)
@@ -32,8 +32,6 @@
public PortletContainerException(final Throwable cause)
{
super(cause);
- if (cause != null)
- cause.printStackTrace();
}
/**
@@ -51,8 +49,6 @@
public PortletContainerException(final String message, final Throwable cause)
{
super(message, cause);
- if (cause != null)
- cause.printStackTrace();
}
}
Show replies by date