Bug 182670 ScriptedDataSet does not use the same classloader when ran for Parameters than when ran for the report
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/BirtUtility.java
return reportTitle;
	}
	/**
	 * Append Error Message with stack trace
	 * 
	 * @param out
	 * @param e
	 * @throws IOException
	 */
	public static void appendErrorMessage( OutputStream out, Exception e )
			throws IOException
	{
		String message = "<html>\n<head>\n<title>" 
				+ BirtResources.getMessage( "birt.viewer.title.error" ) 
				+ "</title>\n"; 
		message += "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=utf-8\">\n</head>\n"; 
		message += "<body>\n"; 
		String errorId = "document.getElementById('error_detail')"; 
		String errorIcon = "document.getElementById('error_icon')"; 
		String onClick = "if (" + errorId + ".style.display == 'none') { " 
				+ errorIcon + ".innerHTML = '- '; " + errorId 
				+ ".style.display = 'block'; }" + "else { " + errorIcon 
				+ ".innerHTML = '+ '; " + errorId 
				+ ".style.display = 'none'; }"; 
		message += "<div style=\"color:red\">\n"; 
		message += "<span id=\"error_icon\"  style=\"cursor:pointer\" onclick=\"" 
				+ onClick + "\" > + </span>\n"; 
		String errorMessage = null;
		if ( e instanceof AxisFault )
		{