VirtualBox

Changeset 49029 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Oct 10, 2013 1:17:09 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89795
Message:

ovfreader: Don't check for xsi:type, just look for type. Dropped a bunch of unnecesary parenthese. Changed throw(xxx) with RT_THROW(xxx) on method declarations and definitions MSVC has been complaining about this for years.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ovfreader.h

    r48955 r49029  
    3838 * that one catch() for all xml::LogicError can handle all possible errors.
    3939 */
    40 
    4140class OVFLogicError : public xml::LogicError
    4241{
     
    4443    OVFLogicError(const char *aFormat, ...);
    4544};
     45
    4646
    4747////////////////////////////////////////////////////////////////////////////////
     
    371371    }
    372372
    373     void checkConsistencyAndCompliance() throw (OVFLogicError)
     373    void checkConsistencyAndCompliance() RT_THROW(OVFLogicError)
    374374    {
    375375        _checkConsistencyAndCompliance();
     
    377377
    378378protected:
    379     virtual void _checkConsistencyAndCompliance() throw (OVFLogicError);
     379    virtual void _checkConsistencyAndCompliance() RT_THROW(OVFLogicError);
    380380    virtual const RTCString& getItemName()
    381381    {
     
    428428
    429429protected:
    430     virtual void _checkConsistencyAndCompliance() throw (OVFLogicError);
     430    virtual void _checkConsistencyAndCompliance() RT_THROW(OVFLogicError);
    431431private:
    432432    RTCString itemName;
     
    474474
    475475protected:
    476     virtual void _checkConsistencyAndCompliance() throw (OVFLogicError);
     476    virtual void _checkConsistencyAndCompliance() RT_THROW(OVFLogicError);
    477477private:
    478478    RTCString itemName;
     
    632632</code>
    633633 */
    634 
    635634class OVFReader
    636635{
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette