mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Description: 1) Adding two new classes, CloudException and RunTimeCloudException. The former extends Exception and the latter RunTimeException. These will be used by classes that formerly directly extended Exception and RuntimeException. These two classes have an attribute of type IdentityProxy to enable exceptions fill in db ids in separate attribute fields rather than in a string. Doing so will allow the serialization module (GSON for JSON and other for XML) to kick in and convert this db id to a uuid in ApiServer.java just before the JSON/XML responses are sent out. 2) Moving IdentityProxy.java from api/ to utils/ since both CloudException and RuntimeCloudException refer to it. 3) Changing references to IdentityProxy class from api/ to utils/. 4) While rebasing to master, a new file was added, merging api/src/com/cloud/api/response/IsoVmResponse.java to this diff.