VirtualBox

Changeset 22295 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 17, 2009 1:10:16 PM (15 years ago)
Author:
vboxsync
Message:

Main: more readable XML errors

File:
1 edited

Legend:

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

    r22294 r22295  
    35553555        /* re-throw the current exception */
    35563556        throw;
     3557    }
     3558    catch (const xml::Error &err)
     3559    {
     3560        return setError(E_FAIL, tr("%s.\n%s[%d] (%s)"),
     3561                                err.what(),
     3562                                pszFile, iLine, pszFunction);
    35573563    }
    35583564    catch (const std::exception &err)
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