VirtualBox

Changeset 15714 in vbox


Ignore:
Timestamp:
Dec 22, 2008 12:46:17 PM (16 years ago)
Author:
vboxsync
Message:

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

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

Legend:

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

    r15334 r15714  
    253253{
    254254    Guid imageId = aImageId;
    255     if (imageId.isEmpty())
    256         return E_INVALIDARG;
     255    CheckComArgExpr(aImageId, !imageId.isEmpty());
    257256
    258257    AutoCaller autoCaller (this);
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r15708 r15714  
    88328832
    88338833    <method name="mountImage">
    8834       <desc>Mounts a floppy image with the specified UUID.</desc>
     8834      <desc>Mounts a floppy image with the specified UUID.
     8835
     8836        <result name="VBOX_E_FILE_ERROR">
     8837          Invalid image file location.
     8838        </result>
     8839        <result name="VBOX_E_OBJECT_NOT_FOUND">
     8840          Could not find a floppy image matching @a imageID.
     8841        </result>
     8842        <result name="VBOX_E_INVALID_OBJECT_STATE">
     8843          Invalid media state.
     8844        </result>
     8845
     8846      </desc>
    88358847      <param name="imageId" type="uuid" dir="in"/>
    88368848    </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