DaanHoogland commented on a change in pull request #2290: WIP: add track id to
async api calls
URL: https://github.com/apache/cloudstack/pull/2290#discussion_r148766534
##########
File path: server/src/com/cloud/vm/UserVmManagerImpl.java
##########
@@ -4600,14 +4602,18 @@ public UserVm createVirtualMachine(DeployVMCmd cmd)
throws InsufficientCapacityE
DataCenter zone = _entityMgr.findById(DataCenter.class, zoneId);
if (zone == null) {
- throw new InvalidParameterValueException("Unable to find zone by
id=" + zoneId);
+ CloudRuntimeException ex = new
InvalidParameterValueException("Unable to find zone by id=" + zoneId);
Review comment:
thanks, yes that's why I created the CloudRuntimeException(String callId,
String message) but i haven't created a InvalidParameterValueException(String
callId, String message) yet.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services