VirtualBox

Changeset 76154 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Dec 11, 2018 9:01:30 AM (6 years ago)
Author:
vboxsync
Message:

Main: bugref:9324: Added new error for "medium shrink is not allowed"

File:
1 edited

Legend:

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

    r75373 r76154  
    1001210012            if (RT_FAILURE(vrc))
    1001310013            {
     10014                if (vrc == VERR_VD_SHRINK_NOT_SUPPORTED)
     10015                    throw setErrorBoth(VBOX_E_NOT_SUPPORTED, vrc,
     10016                                       tr("Shrinking is not yet supported for medium '%s'"),
     10017                                       location.c_str());
    1001410018                if (vrc == VERR_NOT_SUPPORTED)
    1001510019                    throw setErrorBoth(VBOX_E_NOT_SUPPORTED, vrc,
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