Changeset 18813 in vbox for trunk/src/VBox
- Timestamp:
- Apr 7, 2009 12:28:57 PM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/HardDiskImpl.cpp
r18485 r18813 2854 2854 2855 2855 if (RT_FAILURE (vrc)) 2856 return setError (VBOX_E_IPRT_ERROR, 2857 tr ("Could not get the storage format of the hard disk " 2858 "'%s' (%Rrc)"), locationFull.raw(), vrc); 2856 { 2857 if (vrc == VERR_FILE_NOT_FOUND || vrc == VERR_PATH_NOT_FOUND) 2858 return setError (VBOX_E_FILE_ERROR, 2859 tr ("Could not find file for the hard disk " 2860 "'%s' (%Rrc)"), locationFull.raw(), vrc); 2861 else 2862 return setError (VBOX_E_IPRT_ERROR, 2863 tr ("Could not get the storage format of the hard disk " 2864 "'%s' (%Rrc)"), locationFull.raw(), vrc); 2865 } 2859 2866 2860 2867 ComAssertRet (backendName != NULL && *backendName != '\0', E_FAIL); -
trunk/src/VBox/Main/MediumImpl.cpp
r18313 r18813 969 969 * newly opened media so convert this into an error */ 970 970 if (!m.lastAccessError.isNull()) 971 rc = setError ( E_FAIL, Utf8Str (m.lastAccessError));971 rc = setError (VBOX_E_FILE_ERROR, Utf8Str (m.lastAccessError)); 972 972 } 973 973
Note:
See TracChangeset
for help on using the changeset viewer.