return portlet;
}
catch (InvalidHandle invalidHandleFault)
{
throw new NoSuchPortletException(invalidHandleFault, portletHandle);
}
catch (Exception e)
{
log.debug("Couldn't get portlet via getPortletDescription for producer '" + persistentId
+ "'. Attempting to retrieve it from the service description as this producer might not support the PortletManagement interface.", e);
justRefreshed = refresh(true);
portlet = getPortletFromCaches(portletHandle, justRefreshed);
if (portlet == null)
{
throw new NoSuchPortletException(portletHandle);
}
else
{
return portlet;
}