VirtualBox

Changeset 73973 in vbox for trunk/src


Ignore:
Timestamp:
Aug 30, 2018 10:21:55 AM (6 years ago)
Author:
vboxsync
Message:

bugref:9152. build fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/ApplianceImplExport.cpp

    r73972 r73973  
    891891            // returns pBootableMedium if there are no diff images
    892892            rc = ptrSourceDisk->COMGETTER(Base)(pBootableBaseMedium.asOutParam());
    893             if (FAILED(rc)) 
     893            if (FAILED(rc))
    894894                throw rc;
    895895
     
    909909                ComObjPtr<Medium> ptrDisk;
    910910                rc = mVirtualBox->i_findHardDiskByLocation(path, true , &ptrDisk);
    911                 if (FAILED(rc)) 
     911                if (FAILED(rc))
    912912                    throw rc;
    913913
     
    921921            if (vsdescThis->i_findByType(VirtualSystemDescriptionType_HardDiskImage).empty())
    922922            {
    923                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     923                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    924924                                    tr("Strange, but nothing to export to OCI after preparation steps"));
    925925            }
     
    939939
    940940            if (aLocInfo.strPath.isEmpty())
    941                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     941                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    942942                                    tr("OCI: Cloud user profile wasn't found"));
    943943
     
    949949                vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIInstanceShape);
    950950            if (shapeId.empty())
    951                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     951                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    952952                                    tr("OCI: Shape of instance wasn't found"));
    953953
     
    958958                vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIDomain);
    959959            if (domainName.empty())
    960                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     960                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    961961                                    tr("OCI: Available domain wasn't found"));
    962962
     
    967967                vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIBootDiskSize);
    968968            if (bootDiskSize.empty())
    969                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     969                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    970970                                    tr("OCI: Boot disk size wasn't found"));
    971971
     
    976976                vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIBucket);
    977977            if (bucketId.empty())
    978                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     978                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    979979                                    tr("OCI: Bucket wasn't found"));
    980980
     
    985985                vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIVCN);
    986986            if (vcn.empty())
    987                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     987                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    988988                                    tr("OCI: VCN wasn't found"));
    989989
     
    994994                vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIPublicIP);
    995995            if (publicIP.empty())
    996                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     996                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    997997                                    tr("OCI: Public IP setting wasn't found"));
    998998
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette