MessageConstants.CANNOT_CREATE_EMITTER_EXCEPTION, t );
MessageConstants.CANNOT_CREATE_EMITTER_EXCEPTION, format, t );
	protected IContentEmitter createContentEmitter( )			throws EngineException	{		String format = executionContext.getOutputFormat( );				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,					MessageConstants.FORMAT_NOT_SUPPORTED_EXCEPTION, format );			throw new UnsupportedFormatException(					MessageConstants.FORMAT_NOT_SUPPORTED_EXCEPTION, format );		}		IContentEmitter emitter;		try		{			emitter = extManager.createEmitter( format, emitterID );		}		catch ( Throwable t )		{			log.log( Level.SEVERE, "Report engine can not create {0} emitter.", //$NON-NLS-1$					format ); // $NON-NLS-1$			throw new EngineException(					MessageConstants.CANNOT_CREATE_EMITTER_EXCEPTION, t );		}		if ( emitter == null )		{			log.log( Level.SEVERE, "Report engine can not create {0} emitter.", //$NON-NLS-1$					format ); // $NON-NLS-1$			throw new EngineException(					MessageConstants.CANNOT_CREATE_EMITTER_EXCEPTION );		}				initializePagination( format, extManager );		//the output will be paginate.		if ( !ExtensionManager.PAPER_SIZE_PAGINATION.equals( pagination ) )		{			emitter = new HTMLTableLayoutNestEmitter( emitter );		}				return emitter;	}