VirtualBox

Changeset 99569 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
May 2, 2023 7:17:43 PM (19 months ago)
Author:
vboxsync
Message:

Main/testcase/tstOVF.cpp: Improve error message to identify the
unexpected VirtualSystemDescriptionType enum value in aTypes[] when
failing to import an OVF-based appliance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstOVF.cpp

    r98103 r99569  
    246246
    247247                default:
    248                     throw MyError(E_UNEXPECTED, "Invalid VirtualSystemDescriptionType (enum)\n");
     248                    throw MyError(E_UNEXPECTED, Utf8StrFmt("Invalid VirtualSystemDescriptionType (enum=%d)\n", t).c_str());
    249249                break;
    250250            }
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