cloudstack/server/src/com/cloud/hypervisor
alena c5d78a726e Modified exception handing in API. Following exceptions are supported now (location - BaseCmd.java):
* MALFORMED_PARAMETER_ERROR - when type of the request parameter is invalid (String instead of Long for id for example)
* PARAM_ERROR - when invalid parameter value is specified in api request. For example, id of non existing vm for StartVmCmd
* ACCOUNT_RESOURCE_LIMIT_ERROR - when user tries to exceed his resource limits by executing the api command.
* INSUFFICIENT_CAPACITY_ERROR - when resource fails to create/start due to insufficient capacity.
* RESOURCE_UNAVAILABLE_ERROR - when user tries to create a vm when storage is not available.
* RESOURCE_IN_USE_ERROR - when user tries to delete/modify resource while it's in use. For example, when we try to delete a network group when it contains ingress rules.
* NETWORK_RULE_CONFLICT_ERROR - when LB/PF rule to add conflicts with existing rule
* ACCOUNT_ERROR - when user is not authorized to execute operation on the resource.
* INTERNAL_ERROR
2010-11-16 11:56:34 -08:00
..
kvm/discoverer Modified exception handing in API. Following exceptions are supported now (location - BaseCmd.java): 2010-11-16 11:56:34 -08:00
xen/discoverer always add master first when adding host 2010-10-29 11:07:51 -07:00
HypervisorGuruBase.java stop vm is now formalized 2010-11-05 16:10:22 -07:00
KVMGuru.java start2command fro secondarys storage vm and make it work for KVM 2010-11-11 17:04:10 -08:00
XenServerGuru.java stop vm is now formalized 2010-11-05 16:10:22 -07:00