public PortletWindowImpl(ServletContext context,
PortletWindow portletWindow) {
this.servletContext = context.getContext(
portletWindow.getContextPath());
if (servletContext == null) {
throw new PortletContainerRuntimeException(EXCEPTIONS.getString(
"error.config.context.null",
portletWindow.getPortletName(),
portletWindow.getContextPath()));
}
this.portletWindow = portletWindow;