bug 10062: better error message

This commit is contained in:
Abhinandan Prateek 2011-06-15 10:05:45 +05:30
parent b27722b0db
commit db94ece73b
1 changed files with 1 additions and 1 deletions

View File

@ -672,7 +672,7 @@ public class VirtualMachineManagerImpl implements VirtualMachineManager, Listene
}
if (dest == null) {
throw new InsufficientServerCapacityException("Unable to create a deployment for " + vmProfile, DataCenter.class, plan.getDataCenterId());
throw new InsufficientServerCapacityException("Unable to create a deployment for " + vmProfile + " due to lack of VLAN available.", DataCenter.class, plan.getDataCenterId());
}
long destHostId = dest.getHost().getId();