Changeset 2672 in vbox for trunk/src/VBox/Main/idl
- Timestamp:
- May 16, 2007 3:31:49 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r2602 r2672 365 365 Sometimes invocation of some component's method may involve 366 366 methods of other components that may also fail (independently of 367 this method's failure), or a series of non-fatal errors may precede 368 a fatal error that causes method failure. In cases like that, it 369 may be desirable to preserve information about all errors happened 370 during method invocation and deliver it to the caller. The <link 371 to="#next"/> attribute is intended specifically for this purpose 372 and allows to represent a chain of errors through a single 373 IVirtualBoxErrorInfo instance set after method invocation. 367 this method's failure), or a series of non-fatal errors may 368 precede a fatal error that causes method failure. In cases like 369 that, it may be desirable to preserve information about all errors 370 happened during method invocation and deliver it to the 371 caller. The <link to="#next"/> attribute is intended specifically 372 for this purpose and allows to represent a chain of errors through 373 a single IVirtualBoxErrorInfo instance set after method 374 invocation. Note that errors are stored to a chain in the reverse 375 order, i.e. the initial error object you query right after method 376 invocation is the last error set by the callee, the object it 377 points to in the @a next attribute is the previous error and so 378 on, up to the first error (which is the last in the chain). 374 379 </desc> 375 380
Note:
See TracChangeset
for help on using the changeset viewer.