if (reportDocName == null || reportDocName.length() == 0) throw new EngineException("Report document name is not specified when running a report."); reportDoc = new ReportDocument(new DocumentArchive( reportDocName )); run( );
if ( reportDocName == null || reportDocName.length( ) == 0 ) throw new EngineException( "Report document name is not specified when running a report." ); DocumentArchive archive = new DocumentArchive( reportDocName ); run( archive );
	public void run( String reportDocName ) throws EngineException	{		if (reportDocName == null || reportDocName.length() == 0)			throw new EngineException("Report document name is not specified when running a report."); //$NON-NLS-1$			reportDoc = new ReportDocument(new DocumentArchive( reportDocName ));		run( );	}