bug CLOUDSTACK-2445: removed vm id from exception message

This commit is contained in:
Abhinandan Prateek 2013-06-04 16:11:40 +05:30
parent e0fa773c8e
commit c8f143e3a7
1 changed files with 2 additions and 2 deletions

View File

@ -973,8 +973,8 @@ public class LoadBalancingRulesManagerImpl<Type> extends ManagerBase implements
}
if (nicInSameNetwork == null) {
InvalidParameterValueException ex = new InvalidParameterValueException("VM " + instanceId
+ " cannot be added because it doesn't belong in the same network.");
InvalidParameterValueException ex =
new InvalidParameterValueException("VM with id specified cannot be added because it doesn't belong in the same network.");
ex.addProxyObject(vm.getUuid(), "instanceId");
throw ex;
}