activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r960088 [9/9] - in /activemq/activemq-cpp/trunk/activemq-cpp/src/main: activemq/cmsutil/ activemq/commands/ activemq/core/ activemq/io/ activemq/transport/failover/ activemq/transport/mock/ activemq/wireformat/stomp/ decaf/internal/io/ deca...
Date Fri, 02 Jul 2010 19:04:50 GMT
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Adler32.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Adler32.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Adler32.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Adler32.cpp Fri Jul  2 19:04:44 2010
@@ -50,9 +50,7 @@ void Adler32::update( const std::vector<
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Adler32::update( const std::vector<unsigned char>& buffer, int offset, int length )
-    throw( decaf::lang::exceptions::IndexOutOfBoundsException ) {
-
+void Adler32::update( const std::vector<unsigned char>& buffer, int offset, int length ) {
     this->update( &buffer[0], (int)buffer.size(), offset, length );
 }
 
@@ -62,9 +60,7 @@ void Adler32::update( int byte ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Adler32::update( const unsigned char* buffer, int size, int offset, int length )
-    throw( decaf::lang::exceptions::NullPointerException,
-           decaf::lang::exceptions::IndexOutOfBoundsException ) {
+void Adler32::update( const unsigned char* buffer, int size, int offset, int length ) {
 
     if( size < 0 ) {
         throw IndexOutOfBoundsException(

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Adler32.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Adler32.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Adler32.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Adler32.h Fri Jul  2 19:04:44 2010
@@ -72,8 +72,7 @@ namespace zip {
          *
          * @throw IndexOutOfBoundsException if offset + length > size of the buffer.
          */
-        virtual void update( const std::vector<unsigned char>& buffer, int offset, int length )
-            throw( decaf::lang::exceptions::IndexOutOfBoundsException );
+        virtual void update( const std::vector<unsigned char>& buffer, int offset, int length );
 
         /**
          * Updates the current checksum with the specified array of bytes.
@@ -90,9 +89,7 @@ namespace zip {
          * @throw NullPointerException if the passed buffer is NULL.
          * @throw IndexOutOfBoundsException if offset + length > size of the buffer.
          */
-        virtual void update( const unsigned char* buffer, int size, int offset, int length )
-            throw( decaf::lang::exceptions::NullPointerException,
-                   decaf::lang::exceptions::IndexOutOfBoundsException );
+        virtual void update( const unsigned char* buffer, int size, int offset, int length );
 
         /**
          * Updates the current checksum with the specified byte value.

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CRC32.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CRC32.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CRC32.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CRC32.cpp Fri Jul  2 19:04:44 2010
@@ -50,8 +50,7 @@ void CRC32::update( const std::vector<un
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void CRC32::update( const std::vector<unsigned char>& buffer, int offset, int length )
-    throw( decaf::lang::exceptions::IndexOutOfBoundsException ) {
+void CRC32::update( const std::vector<unsigned char>& buffer, int offset, int length ) {
 
     if( offset + length > (int)buffer.size() ) {
         throw IndexOutOfBoundsException(
@@ -67,9 +66,7 @@ void CRC32::update( int byte ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void CRC32::update( const unsigned char* buffer, int size, int offset, int length )
-    throw( decaf::lang::exceptions::NullPointerException,
-           decaf::lang::exceptions::IndexOutOfBoundsException ) {
+void CRC32::update( const unsigned char* buffer, int size, int offset, int length ) {
 
     if( offset + length > size ) {
         throw IndexOutOfBoundsException(

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CRC32.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CRC32.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CRC32.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CRC32.h Fri Jul  2 19:04:44 2010
@@ -71,8 +71,7 @@ namespace zip {
          *
          * @throw IndexOutOfBoundsException if offset + length > size of the buffer.
          */
-        virtual void update( const std::vector<unsigned char>& buffer, int offset, int length )
-            throw( decaf::lang::exceptions::IndexOutOfBoundsException );
+        virtual void update( const std::vector<unsigned char>& buffer, int offset, int length );
 
         /**
          * Updates the current checksum with the specified array of bytes.
@@ -89,10 +88,7 @@ namespace zip {
          * @throw NullPointerException if the passed buffer is NULL.
          * @throw IndexOutOfBoundsException if offset + length > size of the buffer.
          */
-        virtual void update( const unsigned char* buffer, int size,
-                             int offset, int length )
-            throw( decaf::lang::exceptions::NullPointerException,
-                   decaf::lang::exceptions::IndexOutOfBoundsException );
+        virtual void update( const unsigned char* buffer, int size, int offset, int length );
 
         /**
          * Updates the current checksum with the specified byte value.

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedInputStream.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedInputStream.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedInputStream.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedInputStream.cpp Fri Jul  2 19:04:44 2010
@@ -41,7 +41,7 @@ CheckedInputStream::~CheckedInputStream(
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-long long CheckedInputStream::skip( long long num ) throw( decaf::io::IOException ) {
+long long CheckedInputStream::skip( long long num ) {
 
     try{
 
@@ -86,7 +86,7 @@ long long CheckedInputStream::skip( long
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-int CheckedInputStream::doReadByte() throw ( decaf::io::IOException ) {
+int CheckedInputStream::doReadByte() {
 
     try{
 
@@ -108,10 +108,7 @@ int CheckedInputStream::doReadByte() thr
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-int CheckedInputStream::doReadArrayBounded( unsigned char* buffer, int size, int offset, int length )
-    throw ( decaf::io::IOException,
-            decaf::lang::exceptions::IndexOutOfBoundsException,
-            decaf::lang::exceptions::NullPointerException ) {
+int CheckedInputStream::doReadArrayBounded( unsigned char* buffer, int size, int offset, int length ) {
 
     try{
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedInputStream.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedInputStream.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedInputStream.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedInputStream.h Fri Jul  2 19:04:44 2010
@@ -77,16 +77,13 @@ namespace zip {
          *
          * Adds the skipped bytes into the Checksum.
          */
-        virtual long long skip( long long num ) throw( decaf::io::IOException );
+        virtual long long skip( long long num );
 
     protected:
 
-        virtual int doReadByte() throw ( decaf::io::IOException );
+        virtual int doReadByte();
 
-        virtual int doReadArrayBounded( unsigned char* buffer, int size, int offset, int length )
-            throw ( decaf::io::IOException,
-                    decaf::lang::exceptions::IndexOutOfBoundsException,
-                    decaf::lang::exceptions::NullPointerException );
+        virtual int doReadArrayBounded( unsigned char* buffer, int size, int offset, int length );
 
     };
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedOutputStream.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedOutputStream.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedOutputStream.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedOutputStream.cpp Fri Jul  2 19:04:44 2010
@@ -39,7 +39,7 @@ CheckedOutputStream::~CheckedOutputStrea
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void CheckedOutputStream::doWriteByte( unsigned char value ) throw ( decaf::io::IOException ) {
+void CheckedOutputStream::doWriteByte( unsigned char value ) {
 
     try{
 
@@ -57,10 +57,7 @@ void CheckedOutputStream::doWriteByte( u
 
 ////////////////////////////////////////////////////////////////////////////////
 void CheckedOutputStream::doWriteArrayBounded( const unsigned char* buffer, int size,
-                                               int offset, int length )
-    throw ( decaf::io::IOException,
-            decaf::lang::exceptions::NullPointerException,
-            decaf::lang::exceptions::IndexOutOfBoundsException ) {
+                                               int offset, int length ) {
 
     try{
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedOutputStream.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedOutputStream.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedOutputStream.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedOutputStream.h Fri Jul  2 19:04:44 2010
@@ -71,12 +71,9 @@ namespace zip {
 
     protected:
 
-        virtual void doWriteByte( unsigned char value ) throw ( decaf::io::IOException );
+        virtual void doWriteByte( unsigned char value );
 
-        virtual void doWriteArrayBounded( const unsigned char* buffer, int size, int offset, int length )
-            throw ( decaf::io::IOException,
-                    decaf::lang::exceptions::NullPointerException,
-                    decaf::lang::exceptions::IndexOutOfBoundsException );
+        virtual void doWriteArrayBounded( const unsigned char* buffer, int size, int offset, int length );
 
     };
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Checksum.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Checksum.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Checksum.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Checksum.h Fri Jul  2 19:04:44 2010
@@ -69,8 +69,7 @@ namespace zip {
          *
          * @throw IndexOutOfBoundsException if offset + length > size of the buffer.
          */
-        virtual void update( const std::vector<unsigned char>& buffer, int offset, int length )
-            throw( decaf::lang::exceptions::IndexOutOfBoundsException ) = 0;
+        virtual void update( const std::vector<unsigned char>& buffer, int offset, int length ) = 0;
 
         /**
          * Updates the current checksum with the specified array of bytes.
@@ -87,9 +86,7 @@ namespace zip {
          * @throw NullPointerException if the passed buffer is NULL.
          * @throw IndexOutOfBoundsException if offset + length > size of the buffer.
          */
-        virtual void update( const unsigned char* buffer, int size, int offset, int length )
-            throw( decaf::lang::exceptions::NullPointerException,
-                   decaf::lang::exceptions::IndexOutOfBoundsException ) = 0;
+        virtual void update( const unsigned char* buffer, int size, int offset, int length ) = 0;
 
         /**
          * Updates the current checksum with the specified byte value.

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Deflater.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Deflater.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Deflater.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Deflater.cpp Fri Jul  2 19:04:44 2010
@@ -180,10 +180,7 @@ Deflater::~Deflater() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Deflater::setInput( const unsigned char* buffer, int size, int offset, int length )
-    throw( decaf::lang::exceptions::NullPointerException,
-           decaf::lang::exceptions::IndexOutOfBoundsException,
-           decaf::lang::exceptions::IllegalStateException ) {
+void Deflater::setInput( const unsigned char* buffer, int size, int offset, int length ) {
 
     try{
 
@@ -218,16 +215,13 @@ void Deflater::setInput( const unsigned 
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Deflater::setInput( const std::vector<unsigned char>& buffer, int offset, int length )
-    throw( decaf::lang::exceptions::IndexOutOfBoundsException,
-           decaf::lang::exceptions::IllegalStateException ) {
+void Deflater::setInput( const std::vector<unsigned char>& buffer, int offset, int length ) {
 
     this->setInput( &buffer[0], (int)buffer.size(), offset, length );
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Deflater::setInput( const std::vector<unsigned char>& buffer )
-    throw( decaf::lang::exceptions::IllegalStateException ) {
+void Deflater::setInput( const std::vector<unsigned char>& buffer ) {
 
     if( buffer.empty() ) {
         return;
@@ -237,10 +231,7 @@ void Deflater::setInput( const std::vect
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Deflater::setDictionary( const unsigned char* buffer, int size, int offset, int length )
-    throw( decaf::lang::exceptions::NullPointerException,
-           decaf::lang::exceptions::IndexOutOfBoundsException,
-           decaf::lang::exceptions::IllegalStateException ) {
+void Deflater::setDictionary( const unsigned char* buffer, int size, int offset, int length ) {
 
     try{
 
@@ -276,16 +267,13 @@ void Deflater::setDictionary( const unsi
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Deflater::setDictionary( const std::vector<unsigned char>& buffer, int offset, int length )
-    throw( decaf::lang::exceptions::IndexOutOfBoundsException,
-           decaf::lang::exceptions::IllegalStateException ) {
+void Deflater::setDictionary( const std::vector<unsigned char>& buffer, int offset, int length ) {
 
     this->setDictionary( &buffer[0], (int)buffer.size(), offset, length );
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Deflater::setDictionary( const std::vector<unsigned char>& buffer )
-    throw( decaf::lang::exceptions::IllegalStateException ) {
+void Deflater::setDictionary( const std::vector<unsigned char>& buffer ) {
 
     if( buffer.empty() ) {
         return;
@@ -295,9 +283,7 @@ void Deflater::setDictionary( const std:
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Deflater::setStrategy( int strategy )
-    throw( decaf::lang::exceptions::IllegalArgumentException,
-           decaf::lang::exceptions::IllegalStateException ) {
+void Deflater::setStrategy( int strategy ) {
 
     if( strategy < DEFAULT_STRATEGY || strategy > HUFFMAN_ONLY ) {
         throw IllegalArgumentException(
@@ -313,9 +299,7 @@ void Deflater::setStrategy( int strategy
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Deflater::setLevel( int level )
-    throw( decaf::lang::exceptions::IllegalArgumentException,
-           decaf::lang::exceptions::IllegalStateException ) {
+void Deflater::setLevel( int level ) {
 
     if( level < DEFAULT_COMPRESSION || level > BEST_COMPRESSION ) {
         throw IllegalArgumentException(
@@ -350,10 +334,7 @@ bool Deflater::finished() const {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-int Deflater::deflate( unsigned char* buffer, int size, int offset, int length )
-    throw( decaf::lang::exceptions::NullPointerException,
-           decaf::lang::exceptions::IndexOutOfBoundsException,
-           decaf::lang::exceptions::IllegalStateException ) {
+int Deflater::deflate( unsigned char* buffer, int size, int offset, int length ) {
 
     try{
 
@@ -403,22 +384,19 @@ int Deflater::deflate( unsigned char* bu
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-int Deflater::deflate( std::vector<unsigned char>& buffer, int offset, int length )
-    throw( decaf::lang::exceptions::IndexOutOfBoundsException,
-           decaf::lang::exceptions::IllegalStateException ) {
+int Deflater::deflate( std::vector<unsigned char>& buffer, int offset, int length ) {
 
     return this->deflate( &buffer[0], (int)buffer.size(), offset, length );
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-int Deflater::deflate( std::vector<unsigned char>& buffer )
-    throw( decaf::lang::exceptions::IllegalStateException ){
+int Deflater::deflate( std::vector<unsigned char>& buffer ) {
 
     return this->deflate( &buffer[0], (int)buffer.size(), 0, (int)buffer.size() );
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-long long Deflater::getAdler() const throw( decaf::lang::exceptions::IllegalStateException ) {
+long long Deflater::getAdler() const {
     if( this->data->stream == NULL ) {
         throw IllegalStateException(
             __FILE__, __LINE__, "The Deflator has already been ended." );
@@ -428,7 +406,7 @@ long long Deflater::getAdler() const thr
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-long long Deflater::getBytesRead() const throw( decaf::lang::exceptions::IllegalStateException ) {
+long long Deflater::getBytesRead() const {
     if( this->data->stream == NULL ) {
         throw IllegalStateException(
             __FILE__, __LINE__, "The Deflator has already been ended." );
@@ -438,7 +416,7 @@ long long Deflater::getBytesRead() const
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-long long Deflater::getBytesWritten() const throw( decaf::lang::exceptions::IllegalStateException ) {
+long long Deflater::getBytesWritten() const {
     if( this->data->stream == NULL ) {
         throw IllegalStateException(
             __FILE__, __LINE__, "The Deflator has already been ended." );
@@ -448,7 +426,7 @@ long long Deflater::getBytesWritten() co
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Deflater::reset() throw( decaf::lang::exceptions::IllegalStateException ) {
+void Deflater::reset() {
 
     if( this->data->stream == NULL ) {
         throw IllegalStateException(

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Deflater.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Deflater.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Deflater.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Deflater.h Fri Jul  2 19:04:44 2010
@@ -143,10 +143,7 @@ namespace zip {
          * @throws IndexOutOfBoundsException if the offset + length > size of the buffer.
          * @throws IllegalStateException if in the end state.
          */
-        void setInput( const unsigned char* buffer, int size, int offset, int length )
-            throw( decaf::lang::exceptions::NullPointerException,
-                   decaf::lang::exceptions::IndexOutOfBoundsException,
-                   decaf::lang::exceptions::IllegalStateException );
+        void setInput( const unsigned char* buffer, int size, int offset, int length );
 
         /**
          * Sets input data for compression. This should be called whenever needsInput() returns
@@ -162,9 +159,7 @@ namespace zip {
          * @throws IndexOutOfBoundsException if the offset + length > size of the buffer.
          * @throws IllegalStateException if in the end state.
          */
-        void setInput( const std::vector<unsigned char>& buffer, int offset, int length )
-            throw( decaf::lang::exceptions::IndexOutOfBoundsException,
-                   decaf::lang::exceptions::IllegalStateException );
+        void setInput( const std::vector<unsigned char>& buffer, int offset, int length );
 
         /**
          * Sets input data for compression. This should be called whenever needsInput() returns
@@ -175,8 +170,7 @@ namespace zip {
          *
          * @throws IllegalStateException if in the end state.
          */
-        void setInput( const std::vector<unsigned char>& buffer )
-            throw( decaf::lang::exceptions::IllegalStateException );
+        void setInput( const std::vector<unsigned char>& buffer );
 
         /**
          * Sets preset dictionary for compression. A preset dictionary is used when the
@@ -197,10 +191,7 @@ namespace zip {
          * @throws IndexOutOfBoundsException if the offset + length > size of the buffer.
          * @throws IllegalStateException if in the end state.
          */
-        void setDictionary( const unsigned char* buffer, int size, int offset, int length )
-            throw( decaf::lang::exceptions::NullPointerException,
-                   decaf::lang::exceptions::IndexOutOfBoundsException,
-                   decaf::lang::exceptions::IllegalStateException );
+        void setDictionary( const unsigned char* buffer, int size, int offset, int length );
 
         /**
          * Sets preset dictionary for compression. A preset dictionary is used when the
@@ -218,9 +209,7 @@ namespace zip {
          * @throws IndexOutOfBoundsException if the offset + length > size of the buffer.
          * @throws IllegalStateException if in the end state.
          */
-        void setDictionary( const std::vector<unsigned char>& buffer, int offset, int length )
-            throw( decaf::lang::exceptions::IndexOutOfBoundsException,
-                   decaf::lang::exceptions::IllegalStateException );
+        void setDictionary( const std::vector<unsigned char>& buffer, int offset, int length );
 
         /**
          * Sets preset dictionary for compression. A preset dictionary is used when the
@@ -233,8 +222,7 @@ namespace zip {
          *
          * @throws IllegalStateException if in the end state.
          */
-        void setDictionary( const std::vector<unsigned char>& buffer )
-            throw( decaf::lang::exceptions::IllegalStateException );
+        void setDictionary( const std::vector<unsigned char>& buffer );
 
         /**
          * Sets the compression strategy to the specified value.
@@ -245,9 +233,7 @@ namespace zip {
          * @throws IllegalArgumentException if the strategy value is invalid.
          * @throws IllegalStateException if in the end state.
          */
-        void setStrategy( int strategy )
-            throw( decaf::lang::exceptions::IllegalArgumentException,
-                   decaf::lang::exceptions::IllegalStateException );
+        void setStrategy( int strategy );
 
         /**
          * Sets the compression level to the specified value.
@@ -258,9 +244,7 @@ namespace zip {
          * @throws IllegalArgumentException if the level value is invalid.
          * @throws IllegalStateException if in the end state.
          */
-        void setLevel( int level )
-            throw( decaf::lang::exceptions::IllegalArgumentException,
-                   decaf::lang::exceptions::IllegalStateException );
+        void setLevel( int level );
 
         /**
          * @return true if the input data buffer is empty and setInput() should be called in
@@ -299,10 +283,7 @@ namespace zip {
          * @throws IndexOutOfBoundsException if the offset + length > size of the buffer.
          * @throws IllegalStateException if in the end state.
          */
-        int deflate( unsigned char* buffer, int size, int offset, int length )
-            throw( decaf::lang::exceptions::NullPointerException,
-                   decaf::lang::exceptions::IndexOutOfBoundsException,
-                   decaf::lang::exceptions::IllegalStateException );
+        int deflate( unsigned char* buffer, int size, int offset, int length );
 
         /**
          * Fills specified buffer with compressed data. Returns actual number of bytes of
@@ -321,9 +302,7 @@ namespace zip {
          * @throws IndexOutOfBoundsException if the offset + length > size of the buffer.
          * @throws IllegalStateException if in the end state.
          */
-        int deflate( std::vector<unsigned char>& buffer, int offset, int length )
-            throw( decaf::lang::exceptions::IndexOutOfBoundsException,
-                   decaf::lang::exceptions::IllegalStateException );
+        int deflate( std::vector<unsigned char>& buffer, int offset, int length );
 
         /**
          * Fills specified buffer with compressed data. Returns actual number of bytes of
@@ -337,29 +316,28 @@ namespace zip {
          *
          * @throws IllegalStateException if in the end state.
          */
-        int deflate( std::vector<unsigned char>& buffer )
-            throw( decaf::lang::exceptions::IllegalStateException );
+        int deflate( std::vector<unsigned char>& buffer );
 
         /**
          * @returns the ADLER-32 value of the uncompressed data.
          *
          * @throws IllegalStateException if in the end state.
          */
-        long long getAdler() const throw( decaf::lang::exceptions::IllegalStateException );
+        long long getAdler() const;
 
         /**
          * @returns the total number of uncompressed bytes input so far.
          *
          * @throws IllegalStateException if in the end state.
          */
-        long long getBytesRead() const throw( decaf::lang::exceptions::IllegalStateException );
+        long long getBytesRead() const;
 
         /**
          * @return the total number of compressed bytes output so far.
          *
          * @throws IllegalStateException if in the end state.
          */
-        long long getBytesWritten() const throw( decaf::lang::exceptions::IllegalStateException );
+        long long getBytesWritten() const;
 
         /**
          * Resets deflater so that a new set of input data can be processed. Keeps current compression
@@ -367,7 +345,7 @@ namespace zip {
          *
          * @throws IllegalStateException if in the end state.
          */
-        void reset() throw( decaf::lang::exceptions::IllegalStateException );
+        void reset();
 
         /**
          * Closes the compressor and discards any unprocessed input. This method should be called

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/DeflaterOutputStream.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/DeflaterOutputStream.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/DeflaterOutputStream.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/DeflaterOutputStream.cpp Fri Jul  2 19:04:44 2010
@@ -88,7 +88,7 @@ DeflaterOutputStream::~DeflaterOutputStr
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void DeflaterOutputStream::finish() throw ( decaf::io::IOException ) {
+void DeflaterOutputStream::finish() {
 
     try{
 
@@ -115,7 +115,7 @@ void DeflaterOutputStream::finish() thro
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void DeflaterOutputStream::close() throw ( decaf::io::IOException ) {
+void DeflaterOutputStream::close() {
 
     try{
 
@@ -130,7 +130,7 @@ void DeflaterOutputStream::close() throw
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void DeflaterOutputStream::doWriteByte( unsigned char value ) throw ( decaf::io::IOException ) {
+void DeflaterOutputStream::doWriteByte( unsigned char value ) {
 
     try{
         this->doWriteArrayBounded( &value, 1, 0, 1 );
@@ -141,10 +141,7 @@ void DeflaterOutputStream::doWriteByte( 
 
 ////////////////////////////////////////////////////////////////////////////////
 void DeflaterOutputStream::doWriteArrayBounded( const unsigned char* buffer, int size,
-                                                int offset, int length )
-    throw ( decaf::io::IOException,
-            decaf::lang::exceptions::NullPointerException,
-            decaf::lang::exceptions::IndexOutOfBoundsException ) {
+                                                int offset, int length ) {
 
     try{
 
@@ -198,7 +195,7 @@ void DeflaterOutputStream::doWriteArrayB
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void DeflaterOutputStream::deflate() throw ( decaf::io::IOException ) {
+void DeflaterOutputStream::deflate() {
 
     try{
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/DeflaterOutputStream.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/DeflaterOutputStream.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/DeflaterOutputStream.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/DeflaterOutputStream.h Fri Jul  2 19:04:44 2010
@@ -115,31 +115,28 @@ namespace zip {
          *
          * @throws IOException if an I/O error occurs.
          */
-        virtual void finish() throw ( decaf::io::IOException );
+        virtual void finish();
 
         /**
          * {@inheritDoc}
          *
          * Finishes writing any remaining data to the OutputStream then closes the stream.
          */
-        virtual void close() throw ( decaf::io::IOException );
+        virtual void close();
 
     protected:
 
-        virtual void doWriteByte( unsigned char value ) throw ( decaf::io::IOException );
+        virtual void doWriteByte( unsigned char value );
 
         virtual void doWriteArrayBounded( const unsigned char* buffer, int size,
-                                          int offset, int length )
-            throw ( decaf::io::IOException,
-                    decaf::lang::exceptions::NullPointerException,
-                    decaf::lang::exceptions::IndexOutOfBoundsException );
+                                          int offset, int length );
 
     protected:
 
         /**
          * Writes a buffers worth of compressed data to the wrapped OutputStream.
          */
-        virtual void deflate() throw( decaf::io::IOException );
+        virtual void deflate();
 
     };
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.cpp Fri Jul  2 19:04:44 2010
@@ -150,10 +150,7 @@ Inflater::~Inflater() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Inflater::setInput( const unsigned char* buffer, int size, int offset, int length )
-    throw( decaf::lang::exceptions::NullPointerException,
-           decaf::lang::exceptions::IndexOutOfBoundsException,
-           decaf::lang::exceptions::IllegalStateException ) {
+void Inflater::setInput( const unsigned char* buffer, int size, int offset, int length ) {
 
     try{
 
@@ -182,9 +179,7 @@ void Inflater::setInput( const unsigned 
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Inflater::setInput( const std::vector<unsigned char>& buffer, int offset, int length )
-    throw( decaf::lang::exceptions::IndexOutOfBoundsException,
-           decaf::lang::exceptions::IllegalStateException ) {
+void Inflater::setInput( const std::vector<unsigned char>& buffer, int offset, int length ) {
 
     if( buffer.empty() ) {
         return;
@@ -194,8 +189,7 @@ void Inflater::setInput( const std::vect
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Inflater::setInput( const std::vector<unsigned char>& buffer )
-    throw( decaf::lang::exceptions::IllegalStateException ) {
+void Inflater::setInput( const std::vector<unsigned char>& buffer ) {
 
     if( buffer.empty() ) {
         return;
@@ -215,11 +209,7 @@ int Inflater::getRemaining() const {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Inflater::setDictionary( const unsigned char* buffer, int size, int offset, int length )
-    throw( decaf::lang::exceptions::NullPointerException,
-           decaf::lang::exceptions::IndexOutOfBoundsException,
-           decaf::lang::exceptions::IllegalArgumentException,
-           decaf::lang::exceptions::IllegalStateException ) {
+void Inflater::setDictionary( const unsigned char* buffer, int size, int offset, int length ) {
 
     try{
 
@@ -257,10 +247,7 @@ void Inflater::setDictionary( const unsi
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Inflater::setDictionary( const std::vector<unsigned char>& buffer, int offset, int length )
-    throw( decaf::lang::exceptions::IndexOutOfBoundsException,
-           decaf::lang::exceptions::IllegalStateException,
-           decaf::lang::exceptions::IllegalArgumentException ) {
+void Inflater::setDictionary( const std::vector<unsigned char>& buffer, int offset, int length ) {
 
     if( buffer.empty() ) {
         return;
@@ -270,9 +257,7 @@ void Inflater::setDictionary( const std:
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Inflater::setDictionary( const std::vector<unsigned char>& buffer )
-    throw( decaf::lang::exceptions::IllegalArgumentException,
-           decaf::lang::exceptions::IllegalStateException ) {
+void Inflater::setDictionary( const std::vector<unsigned char>& buffer ) {
 
     if( buffer.empty() ) {
         return;
@@ -307,11 +292,7 @@ bool Inflater::finished() const {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-int Inflater::inflate( unsigned char* buffer, int size, int offset, int length )
-    throw( decaf::lang::exceptions::NullPointerException,
-           decaf::lang::exceptions::IndexOutOfBoundsException,
-           decaf::lang::exceptions::IllegalStateException,
-           decaf::util::zip::DataFormatException ) {
+int Inflater::inflate( unsigned char* buffer, int size, int offset, int length ) {
 
     try{
 
@@ -373,10 +354,7 @@ int Inflater::inflate( unsigned char* bu
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-int Inflater::inflate( std::vector<unsigned char>& buffer, int offset, int length )
-    throw( decaf::lang::exceptions::IndexOutOfBoundsException,
-           decaf::lang::exceptions::IllegalStateException,
-           decaf::util::zip::DataFormatException ) {
+int Inflater::inflate( std::vector<unsigned char>& buffer, int offset, int length ) {
 
     if( buffer.empty() ) {
         return 0;
@@ -386,9 +364,7 @@ int Inflater::inflate( std::vector<unsig
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-int Inflater::inflate( std::vector<unsigned char>& buffer )
-    throw( decaf::lang::exceptions::IllegalStateException,
-           decaf::util::zip::DataFormatException ){
+int Inflater::inflate( std::vector<unsigned char>& buffer ) {
 
     if( buffer.empty() ) {
         return 0;
@@ -398,7 +374,7 @@ int Inflater::inflate( std::vector<unsig
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-long long Inflater::getAdler() const throw( decaf::lang::exceptions::IllegalStateException ) {
+long long Inflater::getAdler() const {
 
     if( this->data->stream == NULL ) {
         throw IllegalStateException(
@@ -409,7 +385,7 @@ long long Inflater::getAdler() const thr
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-long long Inflater::getBytesRead() const throw( decaf::lang::exceptions::IllegalStateException ) {
+long long Inflater::getBytesRead() const {
 
     if( this->data->stream == NULL ) {
         throw IllegalStateException(
@@ -420,7 +396,7 @@ long long Inflater::getBytesRead() const
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-long long Inflater::getBytesWritten() const throw( decaf::lang::exceptions::IllegalStateException ) {
+long long Inflater::getBytesWritten() const {
 
     if( this->data->stream == NULL ) {
         throw IllegalStateException(
@@ -431,7 +407,7 @@ long long Inflater::getBytesWritten() co
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Inflater::reset() throw( decaf::lang::exceptions::IllegalStateException ) {
+void Inflater::reset() {
 
     if( this->data->stream == NULL ) {
         throw IllegalStateException(

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.h Fri Jul  2 19:04:44 2010
@@ -99,10 +99,7 @@ namespace zip {
          * @throws IndexOutOfBoundsException if the offset + length > size of the buffer.
          * @throws IllegalStateException if in the end state.
          */
-        void setInput( const unsigned char* buffer, int size, int offset, int length )
-            throw( decaf::lang::exceptions::NullPointerException,
-                   decaf::lang::exceptions::IndexOutOfBoundsException,
-                   decaf::lang::exceptions::IllegalStateException );
+        void setInput( const unsigned char* buffer, int size, int offset, int length );
 
         /**
          * Sets input data for decompression. This should be called whenever needsInput() returns
@@ -118,9 +115,7 @@ namespace zip {
          * @throws IndexOutOfBoundsException if the offset + length > size of the buffer.
          * @throws IllegalStateException if in the end state.
          */
-        void setInput( const std::vector<unsigned char>& buffer, int offset, int length )
-            throw( decaf::lang::exceptions::IndexOutOfBoundsException,
-                   decaf::lang::exceptions::IllegalStateException );
+        void setInput( const std::vector<unsigned char>& buffer, int offset, int length );
 
         /**
          * Sets input data for decompression. This should be called whenever needsInput() returns
@@ -131,8 +126,7 @@ namespace zip {
          *
          * @throws IllegalStateException if in the end state.
          */
-        void setInput( const std::vector<unsigned char>& buffer )
-            throw( decaf::lang::exceptions::IllegalStateException );
+        void setInput( const std::vector<unsigned char>& buffer );
 
         /**
          * Returns the total number of bytes remaining in the input buffer. This can be used to
@@ -163,11 +157,7 @@ namespace zip {
          * @throws IllegalArgumentException if the given dictionary doesn't match thre required
          *         dictionaries checksum value.
          */
-        void setDictionary( const unsigned char* buffer, int size, int offset, int length )
-            throw( decaf::lang::exceptions::NullPointerException,
-                   decaf::lang::exceptions::IndexOutOfBoundsException,
-                   decaf::lang::exceptions::IllegalArgumentException,
-                   decaf::lang::exceptions::IllegalStateException );
+        void setDictionary( const unsigned char* buffer, int size, int offset, int length );
 
         /**
          * Sets the preset dictionary to the given array of bytes. Should be called when inflate()
@@ -187,10 +177,7 @@ namespace zip {
          * @throws IllegalArgumentException if the given dictionary doesn't match thre required
          *         dictionaries checksum value.
          */
-        void setDictionary( const std::vector<unsigned char>& buffer, int offset, int length )
-            throw( decaf::lang::exceptions::IndexOutOfBoundsException,
-                   decaf::lang::exceptions::IllegalArgumentException,
-                   decaf::lang::exceptions::IllegalStateException );
+        void setDictionary( const std::vector<unsigned char>& buffer, int offset, int length );
 
         /**
          * Sets the preset dictionary to the given array of bytes. Should be called when inflate()
@@ -202,12 +189,10 @@ namespace zip {
          *      The Buffer to read in for decompression.
          *
          * @throws IllegalStateException if in the end state.
-         * @throws IllegalArgumentException if the given dictionary doesn't match thre required
+         * @throws IllegalArgumentException if the given dictionary doesn't match the required
          *         dictionaries checksum value.
          */
-        void setDictionary( const std::vector<unsigned char>& buffer )
-            throw( decaf::lang::exceptions::IllegalStateException,
-                   decaf::lang::exceptions::IllegalArgumentException );
+        void setDictionary( const std::vector<unsigned char>& buffer );
 
         /**
          * @return true if the input data buffer is empty and setInput() should be called in
@@ -251,11 +236,7 @@ namespace zip {
          * @throws IndexOutOfBoundsException if the offset + length > size of the buffer.
          * @throws DataFormatException if the compressed data format is invalid.
          */
-        int inflate( unsigned char* buffer, int size, int offset, int length )
-            throw( decaf::lang::exceptions::NullPointerException,
-                   decaf::lang::exceptions::IllegalStateException,
-                   decaf::lang::exceptions::IndexOutOfBoundsException,
-                   decaf::util::zip::DataFormatException );
+        int inflate( unsigned char* buffer, int size, int offset, int length );
 
         /**
          * Uncompresses bytes into specified buffer. Returns actual number of bytes uncompressed.
@@ -274,10 +255,7 @@ namespace zip {
          * @throws IndexOutOfBoundsException if the offset + length > size of the buffer.
          * @throws DataFormatException if the compressed data format is invalid.
          */
-        int inflate( std::vector<unsigned char>& buffer, int offset, int length )
-            throw( decaf::lang::exceptions::IllegalStateException,
-                   decaf::lang::exceptions::IndexOutOfBoundsException,
-                   decaf::util::zip::DataFormatException );
+        int inflate( std::vector<unsigned char>& buffer, int offset, int length );
 
         /**
          * Uncompresses bytes into specified buffer. Returns actual number of bytes uncompressed.
@@ -291,30 +269,28 @@ namespace zip {
          * @throws IllegalStateException if in the end state.
          * @throws DataFormatException if the compressed data format is invalid.
          */
-        int inflate( std::vector<unsigned char>& buffer )
-            throw( decaf::lang::exceptions::IllegalStateException,
-                   decaf::util::zip::DataFormatException );
+        int inflate( std::vector<unsigned char>& buffer );
 
         /**
          * @returns the ADLER-32 value of the uncompressed data.
          *
          * @throws IllegalStateException if in the end state.
          */
-        long long getAdler() const throw( decaf::lang::exceptions::IllegalStateException );
+        long long getAdler() const;
 
         /**
          * @returns the total number of compressed bytes input so far.
          *
          * @throws IllegalStateException if in the end state.
          */
-        long long getBytesRead() const throw( decaf::lang::exceptions::IllegalStateException );
+        long long getBytesRead() const;
 
         /**
          * @return the total number of decompressed bytes output so far.
          *
          * @throws IllegalStateException if in the end state.
          */
-        long long getBytesWritten() const throw( decaf::lang::exceptions::IllegalStateException );
+        long long getBytesWritten() const;
 
         /**
          * Resets deflater so that a new set of input data can be processed. Keeps current decompression
@@ -322,7 +298,7 @@ namespace zip {
          *
          * @throws IllegalStateException if in the end state.
          */
-        void reset() throw( decaf::lang::exceptions::IllegalStateException );
+        void reset();
 
         /**
          * Closes the decompressor and discards any unprocessed input. This method should be called

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/InflaterInputStream.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/InflaterInputStream.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/InflaterInputStream.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/InflaterInputStream.cpp Fri Jul  2 19:04:44 2010
@@ -95,7 +95,7 @@ bool InflaterInputStream::markSupported(
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void InflaterInputStream::reset() throw ( decaf::io::IOException ) {
+void InflaterInputStream::reset() {
     throw IOException(
          __FILE__, __LINE__, "Not Supported for this class." );
 }
@@ -106,9 +106,7 @@ void InflaterInputStream::mark( int read
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-long long InflaterInputStream::skip( long long num )
-    throw ( decaf::io::IOException,
-            decaf::lang::exceptions::UnsupportedOperationException ) {
+long long InflaterInputStream::skip( long long num ) {
 
     try{
 
@@ -137,7 +135,7 @@ long long InflaterInputStream::skip( lon
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void InflaterInputStream::close() throw ( decaf::io::IOException ) {
+void InflaterInputStream::close() {
 
     try{
 
@@ -152,7 +150,7 @@ void InflaterInputStream::close() throw 
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-int InflaterInputStream::available() const throw ( decaf::io::IOException ) {
+int InflaterInputStream::available() const {
 
     try{
 
@@ -172,7 +170,7 @@ int InflaterInputStream::available() con
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-int InflaterInputStream::doReadByte() throw ( decaf::io::IOException ) {
+int InflaterInputStream::doReadByte() {
 
     try{
 
@@ -188,10 +186,7 @@ int InflaterInputStream::doReadByte() th
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-int InflaterInputStream::doReadArrayBounded( unsigned char* buffer, int size, int offset, int length )
-    throw ( decaf::io::IOException,
-            decaf::lang::exceptions::IndexOutOfBoundsException,
-            decaf::lang::exceptions::NullPointerException ) {
+int InflaterInputStream::doReadArrayBounded( unsigned char* buffer, int size, int offset, int length ) {
 
     try{
 
@@ -277,7 +272,7 @@ int InflaterInputStream::doReadArrayBoun
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void InflaterInputStream::fill() throw ( decaf::io::IOException ) {
+void InflaterInputStream::fill() {
 
     try{
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/InflaterInputStream.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/InflaterInputStream.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/InflaterInputStream.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/InflaterInputStream.h Fri Jul  2 19:04:44 2010
@@ -118,23 +118,21 @@ namespace zip {
          *
          * Until EOF this method always returns 1, thereafter it always returns 0.
          */
-        virtual int available() const throw ( decaf::io::IOException );
+        virtual int available() const;
 
         /**
          * {@inheritDoc}
          *
          * Closes any resources associated with this InflaterInputStream.
          */
-        virtual void close() throw ( decaf::io::IOException );
+        virtual void close();
 
         /**
          * {@inheritDoc}
          *
          * Skips the specified amount of uncompressed input data.
          */
-        virtual long long skip( long long num )
-            throw ( decaf::io::IOException,
-                    decaf::lang::exceptions::UnsupportedOperationException );
+        virtual long long skip( long long num );
 
         /**
          * {@inheritDoc}
@@ -148,7 +146,7 @@ namespace zip {
          *
          * Always throws an IOException when called.
          */
-        virtual void reset() throw ( decaf::io::IOException );
+        virtual void reset();
 
         /**
          * {@inheritDoc}
@@ -164,16 +162,13 @@ namespace zip {
          *
          * @throws IOException if an I/O error occurs.
          */
-        virtual void fill() throw( decaf::io::IOException );
+        virtual void fill();
 
     protected:
 
-        virtual int doReadByte() throw ( decaf::io::IOException );
+        virtual int doReadByte();
 
-        virtual int doReadArrayBounded( unsigned char* buffer, int size, int offset, int length )
-            throw ( decaf::io::IOException,
-                    decaf::lang::exceptions::IndexOutOfBoundsException,
-                    decaf::lang::exceptions::NullPointerException );
+        virtual int doReadArrayBounded( unsigned char* buffer, int size, int offset, int length );
 
     };
 



Mime
View raw message