Bug 178164 Use IEngineTask.status constants and remove unnecessary status variables in EngineTask.
1)Remove following redundant variables in EngineTask used for status info. protected final int RUNNING_STATUS_START = 0; protected final int RUNNING_STATUS_RUNNING = 1; protected final int RUNNING_STATUS_STOP = 2; EngineTask already has access to constants declared in IEngineTask. Use those instead. 2)Remove the unused errorHandlingOption in EngineTask.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/RunAndRenderTask.java
*            the runnable report design reference
	 */
	public RunAndRenderTask( IReportEngine engine, IReportRunnable runnable )
	{
		super( engine, runnable, IEngineTask.TASK_RUNANDRENDER );
	}
	protected IContentEmitter createContentEmitter( ) throws EngineException
	{
		String format = renderOptions.getOutputFormat( );
		if ( format == null )
		{
			format = RenderOption.OUTPUT_FORMAT_HTML;
		}
		ExtensionManager extManager = ExtensionManager.getInstance( );
		boolean supported = false;
		Collection supportedFormats = extManager.getSupportedFormat( );
		Iterator iter = supportedFormats.iterator( );
		while ( iter.hasNext( ) )
		{
			String supportedFormat = (String) iter.next( );
			if ( supportedFormat != null
					&& supportedFormat.equalsIgnoreCase( format ) )
			{
				supported = true;
				break;
			}
		}
		if ( !supported )
		{
			log.log( Level.SEVERE,