VirtualBox

Changeset 14708 in vbox


Ignore:
Timestamp:
Nov 27, 2008 2:37:54 PM (16 years ago)
Author:
vboxsync
Message:

fix typos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/settings.h

    r14222 r14708  
    7575 * necessary, the API will make a copy of the supplied string.
    7676 *
    77  * Error reprting is perfomed using C++ exceptions. All exceptions thrown by
     77 * Error reporting is perfomed using C++ exceptions. All exceptions thrown by
    7878 * this API are derived from settings::Error. This doesn't cover exceptions
    7979 * that may be thrown by third-party library calls made by this API.
     
    184184    catch (const XmlTreeBackend::Error &err)
    185185    {
    186         // this is an XmlTreeBackend specific exception exception that may
     186        // this is an XmlTreeBackend specific exception that may
    187187        // happen in case of XML parse or validation errors
    188188        printf ("Could not load the settings file '%s'.\n%s"),
     
    197197        AssertMsgFailed ("Unexpected exception '%s' (%s)\n",
    198198                         typeid (err).name(), err.what());
     199    }
    199200    catch (...)
    200201    {
     
    210211 * templated Key::value<>() method that can convert the string to a value of
    211212 * the given type for you (and throw exceptions when the converison is not
    212  * possible). Similarly, the Key::setStringValue() methid is used to set a raw
     213 * possible). Similarly, the Key::setStringValue() method is used to set a raw
    213214 * string value and there is a templated Key::setValue<>() method to set a
    214215 * typed value which will implicitly convert it to a string.
     
    13171318 * to such non-reentrant parts using a global mutex so that only one thread can
    13181319 * use non-reentrant code at a time. Currently, this relates to the #rawRead()
    1319  * method (and to #read() as a consequence). This menas that only one thread can
     1320 * method (and to #read() as a consequence). This means that only one thread can
    13201321 * parse an XML stream at a time; other threads trying to parse same or
    13211322 * different streams using different XmlTreeBackend and Input instances
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