Bug 180118 Enhance to print out source stack trace in preview mode.[0002]
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/layout/FramesetFragment.java
.getAttribute( IBirtConstants.ATTRIBUTE_BEAN );
		assert attrBean != null;
		OutputStream out = response.getOutputStream( );
		IContext context = new BirtContext( request, response );
		GetUpdatedObjectsResponse upResponse = new GetUpdatedObjectsResponse( );
		Operation op = null;
		try
		{
			File file = new File( attrBean.getReportDocumentName( ) );
			if ( !file.exists( ) )
			{
				BirtRunReportActionHandler runReport = new BirtRunReportActionHandler(
						context, op, upResponse );
				runReport.execute( );
			}
			
			if ( attrBean.isDocumentProcessing( ) )
			{
				AxisFault fault = new AxisFault( );
				fault
						.setFaultReason( BirtResources
								.getMessage( ResourceConstants.GENERAL_EXCEPTION_DOCUMENT_FILE_PROCESSING ) );
				throw fault;
			}
			
			boolean isPrint = false;
			if ( IBirtConstants.ACTION_PRINT.equalsIgnoreCase( attrBean
					.getAction( ) ) )
			{
				isPrint = true;