throw new InvalidPartitionException(msg, e);
}
}
PartitionValidator validator = iaas.getPartitionValidator();
validator.setIaasProvider(iaasProvider);
IaasProvider updatedIaasProvider =
validator.validate(partition.getId(),
CloudControllerUtil.toJavaUtilProperties(partition.getProperties()));
if (log.isDebugEnabled()) {
log.debug("Partition "+partition.toString()+ " is validated successfully "
+ "against the Cartridge: "+cartridge.getType());