try { doLoad( );   List extensions = MetaDataDictionary.getInstance( ).getExtensions( ); if ( extensions == null || extensions.isEmpty( ) ) return;  for ( int i = 0; i < extensions.size( ); i++ ) { ElementDefn defn = (ElementDefn) extensions.get( i ); defn.build( ); } } catch ( ExtensionException e ) { logExtenstionException( e ); throw new MetaDataParserException( e, MetaDataParserException.DESIGN_EXCEPTION_EXTENSION_ERROR ); } catch ( MetaDataException e ) { logger.log( Level.SEVERE, e.getMessage( ) ); MetaLogManager.log( "Extension loading error", e ); throw new MetaDataParserException( e, MetaDataParserException.DESIGN_EXCEPTION_EXTENSION_ERROR ); }
doLoad( );
	public void load( ) throws MetaDataParserException	{		try		{			doLoad( );			// buidl all the extension definitions			List extensions = MetaDataDictionary.getInstance( ).getExtensions( );			if ( extensions == null || extensions.isEmpty( ) )				return;			for ( int i = 0; i < extensions.size( ); i++ )			{				ElementDefn defn = (ElementDefn) extensions.get( i );				defn.build( );			}		}		catch ( ExtensionException e )		{			logExtenstionException( e );			throw new MetaDataParserException( e,					MetaDataParserException.DESIGN_EXCEPTION_EXTENSION_ERROR );		}		catch ( MetaDataException e )		{			logger.log( Level.SEVERE, e.getMessage( ) );			MetaLogManager.log( "Extension loading error", e ); //$NON-NLS-1$			throw new MetaDataParserException( e,					MetaDataParserException.DESIGN_EXCEPTION_EXTENSION_ERROR );		}	}