VirtualBox

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


Ignore:
Timestamp:
Jul 10, 2017 4:42:37 PM (8 years ago)
Author:
vboxsync
Message:

Main/Snapshot: fix error message formatting

File:
1 edited

Legend:

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

    r67466 r67884  
    332332
    333333    if (!test.isZero() && test.isValid())
    334         return setError(E_INVALIDARG,  tr("A machine cannot have a UUID as its name"));
     334        return setError(E_INVALIDARG, tr("A machine cannot have a UUID as its name"));
    335335
    336336    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
     
    29002900                    {
    29012901                        rc = setError(E_FAIL,
    2902                                       tr(" Unable to merge storage '%s'. Can't get storage UID "),
     2902                                      tr("Unable to merge storage '%s'. Can't get storage UID"),
    29032903                                      pTarget_local->i_getLocationFull().c_str());
    29042904                        throw rc;
     
    29332933                if (it_sm == serialMapToStoragePath.end())
    29342934                {
    2935                     LogFlowThisFunc((" Path to the storage wasn't found...\n "));
     2935                    LogFlowThisFunc(("Path to the storage wasn't found...\n"));
    29362936
    29372937                    rc = setError(E_INVALIDARG,
    2938                                   tr(" Unable to merge storage '%s'. Path to the storage wasn't found. "),
     2938                                  tr("Unable to merge storage '%s'. Path to the storage wasn't found"),
    29392939                                  it_sm->second);
    29402940                    throw rc;
     
    29452945                {
    29462946                    rc = setError(E_FAIL,
    2947                                   tr(" Unable to merge storage '%s'. Can't get the storage size. "),
     2947                                  tr("Unable to merge storage '%s'. Can't get the storage size"),
    29482948                                  it_sm->second);
    29492949                    throw rc;
     
    29522952                if (commonSourceStoragesSize > (uint64_t)pcbFree)
    29532953                {
    2954                     LogFlowThisFunc((" Not enough free space to merge...\n "));
     2954                    LogFlowThisFunc(("Not enough free space to merge...\n"));
    29552955
    29562956                    rc = setError(E_OUTOFMEMORY,
    2957                                   tr(" Unable to merge storage '%s' - not enough free storage space. "),
     2957                                  tr("Unable to merge storage '%s'. Not enough free storage space"),
    29582958                                  it_sm->second);
    29592959                    throw rc;
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