Changeset 14579 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Nov 25, 2008 3:59:35 PM (16 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ProgressImpl.h
r13580 r14579 298 298 /* Enclose the state transition NotReady->InInit->Ready */ 299 299 AutoInitSpan autoInitSpan (this); 300 AssertReturn (autoInitSpan.isOk(), E_ UNEXPECTED);300 AssertReturn (autoInitSpan.isOk(), E_FAIL); 301 301 302 302 mProgresses = ProgressVector (aFirstProgress, aLastProgress); -
trunk/src/VBox/Main/include/VirtualBoxBase.h
r13887 r14579 366 366 * 367 367 * When this object is not ready, the macro sets error info and returns 368 * E_ UNEXPECTED (the translatable error message is defined in null context).368 * E_ACCESSDENIED (the translatable error message is defined in null context). 369 369 * Otherwise, the macro does nothing. 370 370 * … … 376 376 do { \ 377 377 if (!isReady()) \ 378 return setError (E_ UNEXPECTED, tr ("The object is not ready")); \378 return setError (E_ACCESSDENIED, tr ("The object is not ready")); \ 379 379 } while (0) 380 380 … … 767 767 * { 768 768 * AutoInitSpan autoInitSpan (this); 769 * AssertReturn (autoInitSpan.isOk(), E_ UNEXPECTED);769 * AssertReturn (autoInitSpan.isOk(), E_FAIL); 770 770 * ... 771 771 * if (FAILED (rc)) … … 863 863 * { 864 864 * AutoReinitSpan autoReinitSpan (this); 865 * AssertReturn (autoReinitSpan.isOk(), E_ UNEXPECTED);865 * AssertReturn (autoReinitSpan.isOk(), E_FAIL); 866 866 * ... 867 867 * if (FAILED (rc))
Note:
See TracChangeset
for help on using the changeset viewer.