Author: julien(a)jboss.com
Date: 2007-04-06 18:47:51 -0400 (Fri, 06 Apr 2007)
New Revision: 6940
Modified:
trunk/core/src/main/org/jboss/portal/core/impl/model/content/InternalContentProvider.java
Log:
when a portlet is not found in InternalContentProvide, do not log the
NoSuchPortletException
Modified:
trunk/core/src/main/org/jboss/portal/core/impl/model/content/InternalContentProvider.java
===================================================================
---
trunk/core/src/main/org/jboss/portal/core/impl/model/content/InternalContentProvider.java 2007-04-06
22:43:02 UTC (rev 6939)
+++
trunk/core/src/main/org/jboss/portal/core/impl/model/content/InternalContentProvider.java 2007-04-06
22:47:51 UTC (rev 6940)
@@ -210,16 +210,15 @@
}
catch (PortletInvokerException e)
{
- log.error("Portlet invoker exception during portlet window
rendering", e);
-
- //
if (e instanceof NoSuchPortletException)
{
-
throw new
ResourceNotFoundException(((NoSuchPortletException)e).getPortletId());
}
else
{
+ log.error("Portlet invoker exception during portlet window
rendering", e);
+
+ //
throw new ControllerException(e);
}
}
Show replies by date