Bug 191637 Empty cube causes error
Comment removed as requested by the submitter - 2007-06-08 droy
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/dimension/Hierarchy.java
* @return
	 * @throws IOException
	 */
	private IDocumentObject createHierarchyDocumentObject( )
			throws IOException
	{	
		return documentManager.createDocumentObject( NamingUtil.getHierarchyDocName( dimensionName, name) );
	}
	/**
	 * 
	 * @return
	 * @throws IOException
	 */
	private IDocumentObject createLevelOffsetDocumentObject( )
			throws IOException
	{
		return documentManager.createDocumentObject( NamingUtil.getHierarchyOffsetDocName( dimensionName, name ) );
	}
	/**
	 * 
	 * @param iterator
	 * @param levelDefs
	 * @throws IOException
	 * @throws BirtException
	 */
	private void saveHierarchyMetadata( IDatasetIterator iterator, ILevelDefn[] levelDefs )
			throws IOException, BirtException
	{
		documentObj.writeInt( levelDefs.length );
		for ( int i = 0; i < levelDefs.length; i++ )