CS-14644: Errortext includes old ID, not UUID in CS3.0

Description:

	Removing dead IdentityProxy information passed during
	exception creation.
This commit is contained in:
Vijayendra Bhamidipati 2012-08-09 13:31:28 -07:00
parent ce23f29e25
commit e0b06df8e2
1 changed files with 1 additions and 3 deletions

View File

@ -370,9 +370,7 @@ public class DeployVMCmd extends BaseAsyncCreateCmd {
VirtualMachineTemplate template = _templateService.getTemplate(templateId);
// Make sure a valid template ID was specified
if (template == null) {
List<IdentityProxy> idList = new ArrayList<IdentityProxy>();
idList.add(new IdentityProxy("vm_template", templateId, "templateId"));
throw new InvalidParameterValueException("Unable to use template ", idList);
throw new InvalidParameterValueException("Template id supplied doesn't exist", null);
}
DiskOffering diskOffering = null;