}
catch (Exception e)
{
RequestDiagnostics rd = RequestDiagnosticsFactory.newRequestDiagnostics();
RequestDiagnosticsFactory.fillInPortletWindow(rd, resourceWindow, e);
PipelineException pe = new PipelineException(e);
pe.setRequestDiagnostics(rd);
throw pe;
}
}
else
{