VirtualBox

Changeset 18799 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 7, 2009 9:13:50 AM (16 years ago)
Author:
vboxsync
Message:

OVF: don't use return if we are in a try catch block

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ApplianceImpl.cpp

    r18702 r18799  
    26642664        {
    26652665            if (task->enFormat == TaskWriteOVF::OVF_0_9)
    2666                 return setError(VBOX_E_FILE_ERROR,
    2667                                 tr("Cannot export more than one virtual system with OVF 0.9, use OVF 1.0"));
     2666                throw setError(VBOX_E_FILE_ERROR,
     2667                               tr("Cannot export more than one virtual system with OVF 0.9, use OVF 1.0"));
    26682668
    26692669            pelmToAddVirtualSystemsTo = pelmRoot->createChild("VirtualSystemCollection");
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