Changeset 25927 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jan 20, 2010 11:38:03 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r25919 r25927 936 936 int vrc = RTSha1Digest(pTask->locInfo.strPath.c_str(), &pszDigest); 937 937 if (RT_FAILURE(vrc)) 938 throw OVFLogicError(tr("Couldn't calculate SHA1 digest for file '%s' (%Rrc)"), 939 RTPathFilename(pTask->locInfo.strPath.c_str()), vrc); 938 throw setError(VBOX_E_FILE_ERROR, 939 tr("Couldn't calculate SHA1 digest for file '%s' (%Rrc)"), 940 RTPathFilename(pTask->locInfo.strPath.c_str()), vrc); 940 941 m->strOVFSHA1Digest = pszDigest; 941 942 RTStrFree(pszDigest); … … 945 946 rc = setError(VBOX_E_FILE_ERROR, 946 947 x.what()); 948 } 949 catch(HRESULT aRC) 950 { 951 rc = aRC; 947 952 } 948 953
Note:
See TracChangeset
for help on using the changeset viewer.