- Timestamp:
- Aug 30, 2018 10:21:55 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImplExport.cpp
r73972 r73973 891 891 // returns pBootableMedium if there are no diff images 892 892 rc = ptrSourceDisk->COMGETTER(Base)(pBootableBaseMedium.asOutParam()); 893 if (FAILED(rc)) 893 if (FAILED(rc)) 894 894 throw rc; 895 895 … … 909 909 ComObjPtr<Medium> ptrDisk; 910 910 rc = mVirtualBox->i_findHardDiskByLocation(path, true , &ptrDisk); 911 if (FAILED(rc)) 911 if (FAILED(rc)) 912 912 throw rc; 913 913 … … 921 921 if (vsdescThis->i_findByType(VirtualSystemDescriptionType_HardDiskImage).empty()) 922 922 { 923 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 923 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 924 924 tr("Strange, but nothing to export to OCI after preparation steps")); 925 925 } … … 939 939 940 940 if (aLocInfo.strPath.isEmpty()) 941 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 941 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 942 942 tr("OCI: Cloud user profile wasn't found")); 943 943 … … 949 949 vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIInstanceShape); 950 950 if (shapeId.empty()) 951 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 951 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 952 952 tr("OCI: Shape of instance wasn't found")); 953 953 … … 958 958 vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIDomain); 959 959 if (domainName.empty()) 960 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 960 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 961 961 tr("OCI: Available domain wasn't found")); 962 962 … … 967 967 vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIBootDiskSize); 968 968 if (bootDiskSize.empty()) 969 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 969 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 970 970 tr("OCI: Boot disk size wasn't found")); 971 971 … … 976 976 vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIBucket); 977 977 if (bucketId.empty()) 978 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 978 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 979 979 tr("OCI: Bucket wasn't found")); 980 980 … … 985 985 vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIVCN); 986 986 if (vcn.empty()) 987 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 987 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 988 988 tr("OCI: VCN wasn't found")); 989 989 … … 994 994 vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIPublicIP); 995 995 if (publicIP.empty()) 996 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 996 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 997 997 tr("OCI: Public IP setting wasn't found")); 998 998
Note:
See TracChangeset
for help on using the changeset viewer.