Changeset 13856 in vbox for trunk/include/VBox/com/SupportErrorInfo.h
- Timestamp:
- Nov 5, 2008 1:30:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/SupportErrorInfo.h
r13580 r13856 83 83 * error or warning but continues its execution, the functionality provided 84 84 * by the base com::FWResult class becomes very useful because it allows to 85 * prese ve the error or the warning result code even if it is later assigned85 * preserve the error or the warning result code even if it is later assigned 86 86 * a S_OK value multiple times. See com::FWResult for details. 87 87 * … … 137 137 * it in case of expressions like |MultiResult rc = E_FAIL;|. But 138 138 * we assert since the optimizer should actually avoid the 139 * temporary and call the other constructor directly i stead. */139 * temporary and call the other constructor directly instead. */ 140 140 AssertFailed(); 141 141 } … … 154 154 * it in case of expressions like |MultiResult rc = E_FAIL;|. But 155 155 * we assert since the optimizer should actually avoid the 156 * temporary and call the other constructor directly i stead.*/156 * temporary and call the other constructor directly instead */ 157 157 AssertFailed(); 158 158 return *this; … … 210 210 * 211 211 * Basic error info support includes a group of setError() methods to set 212 * extended error information on the current thread. This support does nnot212 * extended error information on the current thread. This support does not 213 213 * include all necessary implementation details (for example, implementation of 214 214 * the ISupportErrorInfo interface on MS COM) to make the error info support … … 273 273 * </pre> 274 274 * 275 * Note that this is a generic me htod. There are more convenient overloaded275 * Note that this is a generic method. There are more convenient overloaded 276 276 * versions that automatically substitute some arguments taking their 277 277 * values from the template parameters. See #setError (HRESULT, const char … … 304 304 * IVirtualBoxErrorInfo object. 305 305 * 306 * The error severity bit is always cleared by this call, thereof eyou can307 * use ordinary E_XXX result code constan cs, for convenience. However, this308 * behavior may be non-stan rard on some COM platforms.306 * The error severity bit is always cleared by this call, thereof you can 307 * use ordinary E_XXX result code constants, for convenience. However, this 308 * behavior may be non-standard on some COM platforms. 309 309 */ 310 310 static HRESULT setWarning (HRESULT aResultCode, const GUID &aIID,
Note:
See TracChangeset
for help on using the changeset viewer.