throw new PlexusContainerException( "Error setting container initialization initializationPhases.", e );
}
for ( Iterator iterator = initializationPhases.iterator(); iterator.hasNext(); )
{
ContainerInitializationPhase phase = (ContainerInitializationPhase) iterator.next();
try
{
phase.execute( initializationContext );
}
catch ( ContainerInitializationException e )
{
throw new PlexusContainerException( "Error initializaing container in " + phase + ".", e );
}