}
catch (final org.jboss.deployers.spi.DeploymentException de)
{
// Construct a new DeploymentException of this API
final DeploymentException wrappedException = new DeploymentException(de);
// Remove all previously-added deployables from further MainDeployer processing
final Iterator<Entry<Deployable, Deployment>> it = deploymentsToBeAdded.entrySet().iterator();
while (it.hasNext())
{