Changeset 18825

Show
Ignore:
Timestamp:
05/12/06 09:11:18 (3 years ago)
Author:
allenb
Message:

- Removed exception specifications from everything in vapor except the exception classes.
- The vast majority of C++ experts recommend against using exception specifications and they keep biting me so we are removing them.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/vapor/ChangeLog

    r18810 r18825  
    11DATE       AUTHOR   CHANGE 
    22---------- -------- ----------------------------------------------------------- 
     32006-05-12 allenb   Removed exception specifications from everything but 
     4                    the exception classes. 
     5                    NEW VERSION: 1.1.20 
    362006-05-09 allenb   Change thread exception handling to output .what() 
    47                    for all exceptions based on std::exception. 
  • juggler/trunk/modules/vapor/VERSION

    r18810 r18825  
     11.1.20-0 @05/12/2006 14:21:00 UTC@ 
    121.1.19-1 @05/09/2006 20:21:00 UTC@ 
    231.1.19-0 @05/04/2006 20:41:32 UTC@ 
  • juggler/trunk/modules/vapor/vpr/IO/BlockIO.cpp

    r18824 r18825  
    128128                     vpr::Uint32& bytesRead, 
    129129                     const vpr::Interval timeout) 
    130    throw (IOException) 
    131130{ 
    132131   if(mStatsStrategy != NULL) 
     
    143142                      vpr::Uint32& bytesRead, 
    144143                      const vpr::Interval timeout) 
    145    throw (IOException) 
    146144{ 
    147145   if(mStatsStrategy != NULL) 
     
    159157                      vpr::Uint32& bytesWritten, 
    160158                      const vpr::Interval timeout) 
    161    throw (IOException) 
    162159{ 
    163160   if(mStatsStrategy != NULL) 
  • juggler/trunk/modules/vapor/vpr/IO/BlockIO.h

    r18824 r18825  
    181181             vpr::Uint32& bytesRead, 
    182182             const vpr::Interval timeout = vpr::Interval::NoTimeout) 
    183       throw (IOException) 
    184183   { 
    185184      this->read_s(buffer, length, bytesRead, timeout); 
     
    213212             vpr::Uint32& bytesRead, 
    214213             const vpr::Interval timeout = vpr::Interval::NoTimeout) 
    215       throw (IOException) 
    216214   { 
    217215      // Allocate the temporary buffer, zero it, and read in the current 
     
    250248             const vpr::Uint32 length, vpr::Uint32& bytesRead, 
    251249             const vpr::Interval timeout = vpr::Interval::NoTimeout) 
    252       throw (IOException) 
    253250   { 
    254251      buffer.resize(length); 
     
    257254      // buffer from the device. 
    258255      memset(&buffer[0], '\0', buffer.size()); 
    259        
     256 
    260257      this->read(&buffer[0], buffer.size(), bytesRead, timeout); 
    261258 
     
    358355      // Allocate the temporary buffer, zero it, and read in the current 
    359356      // buffer from the device. 
    360        
     357 
    361358      buffer.resize(length); 
    362359      memset(&buffer[0], '\0', buffer.size()); 
    363360      this->readn(&buffer[0], buffer.size(), bytesRead, timeout); 
    364        
     361 
    365362      buffer.resize(bytesRead); 
    366363   } 
     
    554551   /** 
    555552    * Read strategy. 
     553    * @throws vpr::IOException if the read operation failed. 
    556554    */ 
    557555   virtual void read_s(void* buffer, const vpr::Uint32 length, 
    558556                       vpr::Uint32& bytesRead, 
    559                        const vpr::Interval timeout = vpr::Interval::NoTimeout) 
    560       throw (IOException); 
     557                       const vpr::Interval timeout = vpr::Interval::NoTimeout); 
    561558 
    562559   /** 
    563560    * Read strategy. 
     561    * @throws vpr::IOException if the read operation failed. 
    564562    */ 
    565563   virtual void readn_s(void* buffer, const vpr::Uint32 length, 
    566564                        vpr::Uint32& bytesRead, 
    567                         const vpr::Interval timeout = vpr::Interval::NoTimeout) 
    568       throw (IOException); 
     565                        const vpr::Interval timeout = vpr::Interval::NoTimeout); 
    569566 
    570567   /** 
    571568    * Write strategy. 
     569    * @throws vpr::IOException if the operation failed. 
    572570    */ 
    573571   virtual void write_s(const void* buffer, 
    574572                        const vpr::Uint32 length, 
    575573                        vpr::Uint32& bytesWritten, 
    576                         const vpr::Interval timeout = vpr::Interval::NoTimeout) 
    577       throw (IOException); 
     574                        const vpr::Interval timeout = vpr::Interval::NoTimeout); 
    578575 
    579576   /** 
  • juggler/trunk/modules/vapor/vpr/IO/BufferObjectReader.cpp

    r18824 r18825  
    5252} 
    5353 
    54 BufferObjectReader::~BufferObjectReader() throw () 
     54BufferObjectReader::~BufferObjectReader() 
    5555{ 
    5656   /* Do nothing. */ ; 
  • juggler/trunk/modules/vapor/vpr/IO/BufferObjectReader.h

    r18824 r18825  
    7171                      const unsigned int curPos = 0); 
    7272 
    73    virtual ~BufferObjectReader() throw (); 
     73   /** Destructor. 
     74    * @throws nothing 
     75    */ 
     76   virtual ~BufferObjectReader(); 
    7477 
    7578   void setCurPos(const unsigned int val) 
     
    118121    *                     the underlying data source. 
    119122    */ 
    120    virtual void beginTag(const std::string& tagName) throw (IOException) 
     123   virtual void beginTag(const std::string& tagName) 
    121124   { 
    122125      boost::ignore_unused_variable_warning(tagName); 
     
    130133    *                     the underlying data source. 
    131134    */ 
    132    virtual void endTag() throw (IOException) 
     135   virtual void endTag() 
    133136   {;} 
    134137 
     
    141144    */ 
    142145   virtual void beginAttribute(const std::string& attributeName) 
    143       throw (IOException) 
    144146   { 
    145147      boost::ignore_unused_variable_warning(attributeName); 
     
    153155    *                     the underlying data source. 
    154156    */ 
    155    virtual void endAttribute() throw (IOException) 
     157   virtual void endAttribute() 
    156158   {;} 
    157159   //@} 
     
    165167    *                     the underlying data source. 
    166168    */ 
    167    inline virtual vpr::Uint8 readUint8() throw (IOException)
    168  
    169    /** 
    170     * @throw EOFException If end of file is reached while reading. 
    171     * @throw IOException  If some other I/O error occurs while reading from 
    172     *                     the underlying data source. 
    173     */ 
    174    inline virtual vpr::Uint16 readUint16() throw (IOException)
    175  
    176    /** 
    177     * @throw EOFException If end of file is reached while reading. 
    178     * @throw IOException  If some other I/O error occurs while reading from 
    179     *                     the underlying data source. 
    180     */ 
    181    inline virtual vpr::Uint32 readUint32() throw (IOException)
    182  
    183    /** 
    184     * @throw EOFException If end of file is reached while reading. 
    185     * @throw IOException  If some other I/O error occurs while reading from 
    186     *                     the underlying data source. 
    187     */ 
    188    inline virtual vpr::Uint64 readUint64() throw (IOException)
    189  
    190    /** 
    191     * @throw EOFException If end of file is reached while reading. 
    192     * @throw IOException  If some other I/O error occurs while reading from 
    193     *                     the underlying data source. 
    194     */ 
    195    inline virtual float readFloat() throw (IOException)
    196  
    197    /** 
    198     * @throw EOFException If end of file is reached while reading. 
    199     * @throw IOException  If some other I/O error occurs while reading from 
    200     *                     the underlying data source. 
    201     */ 
    202    inline virtual double readDouble() throw (IOException)
    203  
    204    /** 
    205     * @throw EOFException If end of file is reached while reading. 
    206     * @throw IOException  If some other I/O error occurs while reading from 
    207     *                     the underlying data source. 
    208     */ 
    209    inline virtual std::string readString() throw (IOException)
    210  
    211    /** 
    212     * @throw EOFException If end of file is reached while reading. 
    213     * @throw IOException  If some other I/O error occurs while reading from 
    214     *                     the underlying data source. 
    215     */ 
    216    inline virtual bool readBool() throw (IOException)
     169   inline virtual vpr::Uint8 readUint8()
     170 
     171   /** 
     172    * @throw EOFException If end of file is reached while reading. 
     173    * @throw IOException  If some other I/O error occurs while reading from 
     174    *                     the underlying data source. 
     175    */ 
     176   inline virtual vpr::Uint16 readUint16()
     177 
     178   /** 
     179    * @throw EOFException If end of file is reached while reading. 
     180    * @throw IOException  If some other I/O error occurs while reading from 
     181    *                     the underlying data source. 
     182    */ 
     183   inline virtual vpr::Uint32 readUint32()
     184 
     185   /** 
     186    * @throw EOFException If end of file is reached while reading. 
     187    * @throw IOException  If some other I/O error occurs while reading from 
     188    *                     the underlying data source. 
     189    */ 
     190   inline virtual vpr::Uint64 readUint64()
     191 
     192   /** 
     193    * @throw EOFException If end of file is reached while reading. 
     194    * @throw IOException  If some other I/O error occurs while reading from 
     195    *                     the underlying data source. 
     196    */ 
     197   inline virtual float readFloat()
     198 
     199   /** 
     200    * @throw EOFException If end of file is reached while reading. 
     201    * @throw IOException  If some other I/O error occurs while reading from 
     202    *                     the underlying data source. 
     203    */ 
     204   inline virtual double readDouble()
     205 
     206   /** 
     207    * @throw EOFException If end of file is reached while reading. 
     208    * @throw IOException  If some other I/O error occurs while reading from 
     209    *                     the underlying data source. 
     210    */ 
     211   inline virtual std::string readString()
     212 
     213   /** 
     214    * @throw EOFException If end of file is reached while reading. 
     215    * @throw IOException  If some other I/O error occurs while reading from 
     216    *                     the underlying data source. 
     217    */ 
     218   inline virtual bool readBool()
    217219 
    218220   /** @name Helper methods */ 
     
    224226    *                     the underlying data source. 
    225227    */ 
    226    virtual void readUint8(vpr::Uint8& val) throw (IOException) 
     228   virtual void readUint8(vpr::Uint8& val) 
    227229   { 
    228230      val = this->readUint8(); 
     
    234236    *                     the underlying data source. 
    235237    */ 
    236    virtual void readUint16(vpr::Uint16& val) throw (IOException) 
     238   virtual void readUint16(vpr::Uint16& val) 
    237239   { 
    238240      val = this->readUint16(); 
     
    244246    *                     the underlying data source. 
    245247    */ 
    246    virtual void readUint32(vpr::Uint32& val) throw (IOException) 
     248   virtual void readUint32(vpr::Uint32& val) 
    247249   { 
    248250      val = this->readUint32(); 
     
    254256    *                     the underlying data source. 
    255257    */ 
    256    virtual void readUint64(vpr::Uint64& val) throw (IOException) 
     258   virtual void readUint64(vpr::Uint64& val) 
    257259   { 
    258260      val = this->readUint64(); 
     
    264266    *                     the underlying data source. 
    265267    */ 
    266    virtual void readFloat(float& val) throw (IOException) 
     268   virtual void readFloat(float& val) 
    267269   { 
    268270      val = this->readFloat(); 
     
    274276    *                     the underlying data source. 
    275277    */ 
    276    virtual void readDouble(double& val) throw (IOException) 
     278   virtual void readDouble(double& val) 
    277279   { 
    278280      val = this->readDouble(); 
     
    284286    *                     the underlying data source. 
    285287    */ 
    286    virtual void readString(std::string& str) throw (IOException) 
     288   virtual void readString(std::string& str) 
    287289   { 
    288290      str = this->readString(); 
     
    294296    *                     the underlying data source. 
    295297    */ 
    296    virtual void readBool(bool& val) throw (IOException) 
     298   virtual void readBool(bool& val) 
    297299   { 
    298300      val = this->readBool(); 
     
    307309    *       DO NOT MODIFY THE DATA and DO NOT RELY ON THE DATA STAYING THERE 
    308310    *       LONG. 
    309     */ 
    310    inline vpr::Uint8* readRaw(const unsigned int len = 1) throw (IOException); 
     311    * @throws vpr::IOException if the operation failed. 
     312    */ 
     313   inline vpr::Uint8* readRaw(const unsigned int len = 1); 
    311314 
    312315public: 
     
    316319}; 
    317320 
    318 inline vpr::Uint8 BufferObjectReader::readUint8() throw (IOException) 
     321inline vpr::Uint8 BufferObjectReader::readUint8() 
    319322{ 
    320323   vpr::Uint8 temp_data; 
     
    323326} 
    324327 
    325 inline vpr::Uint16 BufferObjectReader::readUint16() throw (IOException) 
     328inline vpr::Uint16 BufferObjectReader::readUint16() 
    326329{ 
    327330   vpr::Uint16 nw_val; 
     
    331334} 
    332335 
    333 inline vpr::Uint32 BufferObjectReader::readUint32() throw (IOException) 
     336inline vpr::Uint32 BufferObjectReader::readUint32() 
    334337{ 
    335338   vpr::Uint32 nw_val; 
     
    339342} 
    340343 
    341 inline vpr::Uint64 BufferObjectReader::readUint64() throw (IOException) 
     344inline vpr::Uint64 BufferObjectReader::readUint64() 
    342345{ 
    343346   vpr::Uint64 nw_val; 
     
    348351} 
    349352 
    350 inline float BufferObjectReader::readFloat() throw (IOException) 
     353inline float BufferObjectReader::readFloat() 
    351354{ 
    352355   // We are reading the float as a 4 byte value 
     
    360363} 
    361364 
    362 inline double BufferObjectReader::readDouble() throw (IOException) 
     365inline double BufferObjectReader::readDouble() 
    363366{ 
    364367   // We are reading the double as a 8 byte value 
     
    373376} 
    374377 
    375 inline std::string BufferObjectReader::readString() throw (IOException) 
     378inline std::string BufferObjectReader::readString() 
    376379{ 
    377380   // Note: If you change this, you need to change STRING_LENGTH_SIZE 
     
    387390} 
    388391 
    389 inline bool BufferObjectReader::readBool() throw (IOException) 
     392inline bool BufferObjectReader::readBool() 
    390393{ 
    391394   return (bool)*(readRaw(1)); 
     
    393396 
    394397inline vpr::Uint8* BufferObjectReader::readRaw(const unsigned int len) 
    395    throw (IOException) 
    396398{ 
    397399   if ( mCurHeadPos >= mData->size() ) 
  • juggler/trunk/modules/vapor/vpr/IO/BufferObjectWriter.cpp

    r18824 r18825  
    6161} 
    6262 
    63 BufferObjectWriter::~BufferObjectWriter() throw () 
     63BufferObjectWriter::~BufferObjectWriter() 
    6464{ 
    6565   if(mOwnDataBuffer) 
  • juggler/trunk/modules/vapor/vpr/IO/BufferObjectWriter.h

    r18824 r18825  
    7878                      const unsigned int curPos = 0); 
    7979 
    80    virtual ~BufferObjectWriter() throw ()
     80   virtual ~BufferObjectWriter()
    8181 
    8282   void setCurPos(unsigned int val) 
     
    103103    *                    data source. 
    104104    */ 
    105    virtual void beginTag(const std::string& tagName) throw (IOException) 
     105   virtual void beginTag(const std::string& tagName) 
    106106   { 
    107107      boost::ignore_unused_variable_warning(tagName); 
     
    114114    *                    data source. 
    115115    */ 
    116    virtual void endTag() throw (IOException) 
     116   virtual void endTag() 
    117117   { 
    118118      /* Do nothing. */ ; 
     
    126126    */ 
    127127   virtual void beginAttribute(const std::string& attributeName) 
    128       throw (IOException) 
    129128   { 
    130129      boost::ignore_unused_variable_warning(attributeName); 
     
    137136    *                    data source. 
    138137    */ 
    139    virtual void endAttribute() throw (IOException) 
     138   virtual void endAttribute() 
    140139   { 
    141140      /* Do nothing. */ ; 
     
    150149    *                    data source. 
    151150    */ 
    152    virtual void writeUint8(vpr::Uint8 val) throw (IOException)
    153  
    154    /** 
    155     * @throw IOException If I/O errors occur while writing to the underlying 
    156     *                    data source. 
    157     */ 
    158    virtual void writeUint16(vpr::Uint16 val) throw (IOException)
    159  
    160    /** 
    161     * @throw IOException If I/O errors occur while writing to the underlying 
    162     *                    data source. 
    163     */ 
    164    virtual void writeUint32(vpr::Uint32 val) throw (IOException)
    165  
    166    /** 
    167     * @throw IOException If I/O errors occur while writing to the underlying 
    168     *                    data source. 
    169     */ 
    170    virtual void writeUint64(vpr::Uint64 val) throw (IOException)
    171  
    172    /** 
    173     * @throw IOException If I/O errors occur while writing to the underlying 
    174     *                    data source. 
    175     */ 
    176    virtual void writeFloat(float val) throw (IOException)
    177  
    178    /** 
    179     * @throw IOException If I/O errors occur while writing to the underlying 
    180     *                    data source. 
    181     */ 
    182    virtual void writeDouble(double val) throw (IOException)
    183  
    184    /** 
    185     * @throw IOException If I/O errors occur while writing to the underlying 
    186     *                    data source. 
    187     */ 
    188    virtual void writeString(std::string val) throw (IOException)
    189  
    190    /** 
    191     * @throw IOException If I/O errors occur while writing to the underlying 
    192     *                    data source. 
    193     */ 
    194    virtual void writeBool(bool val) throw (IOException)
     151   virtual void writeUint8(vpr::Uint8 val)
     152 
     153   /** 
     154    * @throw IOException If I/O errors occur while writing to the underlying 
     155    *                    data source. 
     156    */ 
     157   virtual void writeUint16(vpr::Uint16 val)
     158 
     159   /** 
     160    * @throw IOException If I/O errors occur while writing to the underlying 
     161    *                    data source. 
     162    */ 
     163   virtual void writeUint32(vpr::Uint32 val)
     164 
     165   /** 
     166    * @throw IOException If I/O errors occur while writing to the underlying 
     167    *                    data source. 
     168    */ 
     169   virtual void writeUint64(vpr::Uint64 val)
     170 
     171   /** 
     172    * @throw IOException If I/O errors occur while writing to the underlying 
     173    *                    data source. 
     174    */ 
     175   virtual void writeFloat(float val)
     176 
     177   /** 
     178    * @throw IOException If I/O errors occur while writing to the underlying 
     179    *                    data source. 
     180    */ 
     181   virtual void writeDouble(double val)
     182 
     183   /** 
     184    * @throw IOException If I/O errors occur while writing to the underlying 
     185    *                    data source. 
     186    */ 
     187   virtual void writeString(std::string val)
     188 
     189   /** 
     190    * @throw IOException If I/O errors occur while writing to the underlying 
     191    *                    data source. 
     192    */ 
     193   virtual void writeBool(bool val)
    195194 
    196195   /** 
    197196    * Writes raw data of length \p len. 
     197    * @throws vpr::IOException if the operation failed. 
    198198    */ 
    199199   inline void writeRaw(vpr::Uint8* data, 
    200                         const unsigned int len = 1) 
    201       throw (IOException); 
     200                        const unsigned int len = 1); 
    202201 
    203202private: 
     
    218217}; 
    219218 
    220 inline void BufferObjectWriter::writeUint8(vpr::Uint8 val) throw (IOException) 
     219inline void BufferObjectWriter::writeUint8(vpr::Uint8 val) 
    221220{ 
    222221   writeRaw(&val, 1); 
     
    224223 
    225224inline void BufferObjectWriter::writeUint16(vpr::Uint16 val) 
    226    throw (IOException) 
    227225{ 
    228226   vpr::Uint16 nw_val = vpr::System::Htons(val); 
     
    232230 
    233231inline void BufferObjectWriter::writeUint32(vpr::Uint32 val) 
    234    throw (IOException) 
    235232{ 
    236233   vpr::Uint32 nw_val = vpr::System::Htonl(val); 
     
    240237 
    241238inline void BufferObjectWriter::writeUint64(vpr::Uint64 val) 
    242    throw (IOException) 
    243239{ 
    244240   vpr::Uint64 nw_val = vpr::System::Htonll(val); 
     
    247243} 
    248244 
    249 inline void BufferObjectWriter::writeFloat(float val) throw (IOException) 
     245inline void BufferObjectWriter::writeFloat(float val) 
    250246{ 
    251247   // We are writing the float as a 4 byte value 
     
    256252} 
    257253 
    258 inline void BufferObjectWriter::writeDouble(double val) throw (IOException) 
     254inline void BufferObjectWriter::writeDouble(double val) 
    259255{ 
    260256   // We are writing the double as a 8 byte value 
     
    266262 
    267263inline void BufferObjectWriter::writeString(std::string val) 
    268    throw (IOException) 
    269264{ 
    270265   // Note: If you change this, you need to change STRING_LENGTH_SIZE 
     
    277272} 
    278273 
    279 inline void BufferObjectWriter::writeBool(bool val) throw (IOException) 
     274inline void BufferObjectWriter::writeBool(bool val) 
    280275{ 
    281276   // Darwin uses four bytes (!) for bools. 
     
    290285inline void BufferObjectWriter::writeRaw(vpr::Uint8* data, 
    291286                                         const unsigned int len) 
    292    throw (IOException) 
    293287{ 
    294288   for ( unsigned int i = 0; i < len; ++i ) 
  • juggler/trunk/modules/vapor/vpr/IO/FileHandle_t.h

    r18824 r18825  
    118118    * @throws vpr::IOException if the file handle could not be opened. 
    119119    */ 
    120    virtual void open() throw (IOException) 
     120   virtual void open() 
    121121   { 
    122122      mHandleImpl.open(); 
     
    133133    * @throws vpr::IOException if the file handle could not be closed. 
    134134    */ 
    135    virtual void close() throw (IOException) 
     135   virtual void close() 
    136136   { 
    137137      return mHandleImpl.close(); 
     
    147147    * @throws vpr::IOException if the blocking mode could not be set. 
    148148    */ 
    149    virtual void setBlocking(bool blocking) throw (IOException) 
     149   virtual void setBlocking(bool blocking) 
    150150   { 
    151151      mHandleImpl.setBlocking(blocking); 
     
    234234    *         for some reason. 
    235235    */ 
    236    void setAppend(bool flag) throw (IOException) 
     236   void setAppend(bool flag) 
    237237   { 
    238238      mHandleImpl.setAppend(flag); 
     
    253253    *         for some reason. 
    254254    */ 
    255    void setSynchronousWrite(bool flag) throw (IOException) 
     255   void setSynchronousWrite(bool flag) 
    256256   { 
    257257      return mHandleImpl.setSynchronousWrite(flag); 
     
    333333               vpr::Uint32& bytesRead, 
    334334               const vpr::Interval timeout = vpr::Interval::NoTimeout) 
    335       throw (IOException) 
    336335   { 
    337336      mHandleImpl.read_i(buffer, length, bytesRead, timeout); 
     
    365364                vpr::Uint32& bytesRead, 
    366365                const vpr::Interval timeout = vpr::Interval::NoTimeout) 
    367       throw (IOException) 
    368366   { 
    369367      mHandleImpl.readn_i(buffer, length, bytesRead, timeout); 
     
    396394                vpr::Uint32& bytesWritten, 
    397395                const vpr::Interval timeout = vpr::Interval::NoTimeout) 
    398       throw (IOException) 
    399396   { 
    400397      mHandleImpl.write_i(buffer, length, bytesWritten, timeout); 
  • juggler/trunk/modules/vapor/vpr/IO/ObjectReader.cpp

    r18824 r18825  
    5555} 
    5656 
    57 ObjectReader::~ObjectReader() throw () 
     57ObjectReader::~ObjectReader() 
    5858{ 
    5959   /* Do nothing. */ ; 
  • juggler/trunk/modules/vapor/vpr/IO/ObjectReader.h

    r18824 r18825  
    5959 
    6060public: 
    61    virtual ~ObjectReader() throw ()
     61   virtual ~ObjectReader()
    6262 
    6363   /** 
     
    100100    *                     the underlying data source. 
    101101    */ 
    102    virtual void beginTag(const std::string& tagName) throw (IOException) = 0; 
     102   virtual void beginTag(const std::string& tagName) = 0; 
    103103 
    104104   /** 
     
    109109    *                     the underlying data source. 
    110110    */ 
    111    virtual void endTag() throw (IOException) = 0; 
     111   virtual void endTag() = 0; 
    112112 
    113113   /** 
     
    118118    *                     the underlying data source. 
    119119    */ 
    120    virtual void beginAttribute(const std::string& attributeName) 
    121       throw (IOException) = 0; 
     120   virtual void beginAttribute(const std::string& attributeName) = 0; 
    122121 
    123122   /** 
     
    128127    *                     the underlying data source. 
    129128    */ 
    130    virtual void endAttribute() throw (IOException) = 0; 
     129   virtual void endAttribute() = 0; 
    131130   //@} 
    132131 
     
    152151    *                     the underlying data source. 
    153152    */ 
    154    virtual vpr::Uint8 readUint8() throw (IOException) = 0; 
    155  
    156    /** 
    157     * @throw EOFException If end of file is reached while reading. 
    158     * @throw IOException  If some other I/O error occurs while reading from 
    159     *                     the underlying data source. 
    160     */ 
    161    virtual vpr::Uint16 readUint16() throw (IOException) = 0; 
    162  
    163    /** 
    164     * @throw EOFException If end of file is reached while reading. 
    165     * @throw IOException  If some other I/O error occurs while reading from 
    166     *                     the underlying data source. 
    167     */ 
    168    virtual vpr::Uint32 readUint32() throw (IOException) = 0; 
    169  
    170    /** 
    171     * @throw EOFException If end of file is reached while reading. 
    172     * @throw IOException  If some other I/O error occurs while reading from 
    173     *                     the underlying data source. 
    174     */ 
    175    virtual vpr::Uint64 readUint64() throw (IOException) = 0; 
    176  
    177