VirtualBox

Changeset 35517 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jan 13, 2011 10:47:12 AM (14 years ago)
Author:
vboxsync
Message:

Frontends/VBoxManage+glue/ErrorInfo: revert change which broke error reporting (4.0.0 regression), clean up on the way

Location:
trunk/src/VBox/Frontends
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/testcase/tstHeadless.cpp

    r32718 r35517  
    137137            if (FAILED (resultCode))
    138138            {
    139                 ComPtr<IVirtualBoxErrorInfo> errorInfo;
    140                 CHECK_ERROR_BREAK(progress,
    141                                   COMGETTER(ErrorInfo) (errorInfo.asOutParam()));
    142                 ErrorInfo info(errorInfo, COM_IIDOF(IVirtualBoxErrorInfo));
     139                ProgressErrorInfo info(progress);
    143140                com::GluePrintErrorInfo(info);
    144141            }
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp

    r35146 r35517  
    170170                rc = machine->COMGETTER(AccessError)(accessError.asOutParam());
    171171                RTPrintf("Access error details:\n");
    172                 ErrorInfo ei(accessError, COM_IIDOF(IVirtualBoxErrorInfo));
     172                ErrorInfo ei(accessError);
    173173                GluePrintErrorInfo(ei);
    174174                RTPrintf("\n");
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp

    r35273 r35517  
    372372        if (FAILED(iRc))
    373373        {
    374             ComPtr<IVirtualBoxErrorInfo> errorInfo;
    375             CHECK_ERROR_RET(progress, COMGETTER(ErrorInfo)(errorInfo.asOutParam()), 1);
    376             ErrorInfo info(errorInfo, COM_IIDOF(IVirtualBoxErrorInfo));
     374            ProgressErrorInfo info(progress);
    377375            com::GluePrintErrorInfo(info);
    378376        }
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