VirtualBox

Changeset 25919 in vbox


Ignore:
Timestamp:
Jan 20, 2010 7:41:00 AM (15 years ago)
Author:
vboxsync
Message:

Main/ApplianceImpl: fixed incorrect throw

File:
1 edited

Legend:

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

    r25860 r25919  
    936936        int vrc = RTSha1Digest(pTask->locInfo.strPath.c_str(), &pszDigest);
    937937        if (RT_FAILURE(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);
     938            throw OVFLogicError(tr("Couldn't calculate SHA1 digest for file '%s' (%Rrc)"),
     939                                RTPathFilename(pTask->locInfo.strPath.c_str()), vrc);
    941940        m->strOVFSHA1Digest = pszDigest;
    942941        RTStrFree(pszDigest);
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