VirtualBox

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


Ignore:
Timestamp:
Sep 5, 2013 9:41:48 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88712
Message:

Main: fixed a few %Rrc <--> COM error code mismatches

File:
1 edited

Legend:

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

    r47991 r48295  
    36013601            // the failure may occur w/o any error info (from RPC), so provide one
    36023602            return setError(VBOX_E_VM_ERROR,
    3603                             tr("Failed to get a console object from the direct session (%Rrc)"), rc);
     3603                            tr("Failed to get a console object from the direct session (%Rhrc)"), rc);
    36043604
    36053605        ComAssertRet(!pConsoleW.isNull(), E_FAIL);
     
    36133613            // the failure may occur w/o any error info (from RPC), so provide one
    36143614            return setError(VBOX_E_VM_ERROR,
    3615                             tr("Failed to assign the machine to the session (%Rrc)"), rc);
     3615                            tr("Failed to assign the machine to the session (%Rhrc)"), rc);
    36163616        alock.acquire();
    36173617
     
    37143714            if (FAILED(rc))
    37153715                setError(VBOX_E_VM_ERROR,
    3716                          tr("Failed to assign the machine to the session (%Rrc)"), rc);
     3716                         tr("Failed to assign the machine to the session (%Rhrc)"), rc);
    37173717
    37183718            if (    SUCCEEDED(rc)
     
    37473747                    if (FAILED(rc))
    37483748                        setError(VBOX_E_VM_ERROR,
    3749                                  tr("Failed to assign the machine to the remote session (%Rrc)"), rc);
     3749                                 tr("Failed to assign the machine to the remote session (%Rhrc)"), rc);
    37503750                }
    37513751
     
    81198119        /* The failure may occur w/o any error info (from RPC), so provide one */
    81208120        return setError(VBOX_E_VM_ERROR,
    8121                         tr("Failed to assign the machine to the session (%Rrc)"), rc);
     8121                        tr("Failed to assign the machine to the session (%Rhrc)"), rc);
    81228122    }
    81238123
     
    82598259            rc = setError(E_FAIL,
    82608260                          tr("The virtual machine '%s' has terminated unexpectedly during startup (%Rrc)"),
    8261                           getName().c_str(), rc);
     8261                          getName().c_str(), vrc);
    82628262    }
    82638263
Note: See TracChangeset for help on using the changeset viewer.

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