pcException = new PortletContainerException("Unknown invocation response type [" + pir.getClass()
+ "]. Expected a FragmentResponse or an ErrorResponse");
}
//
PortletExceptionHandleService portletExceptionService = getApplicationComponent(PortletExceptionHandleService.class);
if (portletExceptionService != null) {
portletExceptionService.handle(pcException);
}
// Log the error
log.error("Portlet render threw an exception", pcException);