VirtualBox

Ignore:
Timestamp:
Nov 25, 2008 3:59:35 PM (16 years ago)
Author:
vboxsync
Message:

Main: VirtualBoxBase::addCaller() now returns E_ACCESSDENIED. Also replaced E_UNEXPECTED with E_FAIL in all Assert* statements (for consistency).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/SharedFolderImpl.cpp

    r13837 r14579  
    7171    /* Enclose the state transition NotReady->InInit->Ready */
    7272    AutoInitSpan autoInitSpan (this);
    73     AssertReturn (autoInitSpan.isOk(), E_UNEXPECTED);
     73    AssertReturn (autoInitSpan.isOk(), E_FAIL);
    7474
    7575    unconst (mMachine) = aMachine;
     
    100100    /* Enclose the state transition NotReady->InInit->Ready */
    101101    AutoInitSpan autoInitSpan (this);
    102     AssertReturn (autoInitSpan.isOk(), E_UNEXPECTED);
     102    AssertReturn (autoInitSpan.isOk(), E_FAIL);
    103103
    104104    unconst (mMachine) = aMachine;
     
    129129    /* Enclose the state transition NotReady->InInit->Ready */
    130130    AutoInitSpan autoInitSpan (this);
    131     AssertReturn (autoInitSpan.isOk(), E_UNEXPECTED);
     131    AssertReturn (autoInitSpan.isOk(), E_FAIL);
    132132
    133133    unconst (mConsole) = aConsole;
     
    157157    /* Enclose the state transition NotReady->InInit->Ready */
    158158    AutoInitSpan autoInitSpan (this);
    159     AssertReturn (autoInitSpan.isOk(), E_UNEXPECTED);
     159    AssertReturn (autoInitSpan.isOk(), E_FAIL);
    160160
    161161    unconst (mVirtualBox) = aVirtualBox;
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