VirtualBox

Changeset 15661 in vbox


Ignore:
Timestamp:
Dec 18, 2008 2:21:08 PM (16 years ago)
Author:
vboxsync
Message:

#3285: Improve error handling API to include unique error numbers
Document

  • IDVDDrive::mountImage
Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

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

    r15334 r15661  
    246246{
    247247    Guid imageId = aImageId;
    248     if (imageId.isEmpty())
    249         return E_INVALIDARG;
     248    CheckComArgExpr(aImageId, !imageId.isEmpty());
    250249
    251250    AutoCaller autoCaller (this);
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r15649 r15661  
    87668766
    87678767    <method name="mountImage">
    8768       <desc>Mounts a CD/DVD image with the specified UUID.</desc>
     8768      <desc>Mounts a CD/DVD image with the specified UUID.
     8769
     8770        <result name="VBOX_E_FILE_ERROR">
     8771          Invalid image file location.
     8772        </result>
     8773        <result name="VBOX_E_OBJECT_NOT_FOUND">
     8774          Could not find a CD/DVD image matching @a imageID.
     8775        </result>
     8776        <result name="VBOX_E_INVALID_OBJECT_STATE">
     8777          Invalid media state.
     8778        </result>
     8779
     8780      </desc>
    87698781      <param name="imageId" type="uuid" dir="in"/>
    87708782    </method>
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