You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2010/07/02 21:04:50 UTC
svn commit: r960088 [1/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...
Author: tabish
Date: Fri Jul 2 19:04:44 2010
New Revision: 960088
URL: http://svn.apache.org/viewvc?rev=960088&view=rev
Log:
Remove throw specifier from the classes in the library
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/PooledSession.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingInputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingInputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingOutputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingOutputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/BackupTransportPool.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/BackupTransportPool.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransportFactory.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransportFactory.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompFrame.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompFrame.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormatFactory.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormatFactory.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardErrorOutputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardErrorOutputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardInputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardInputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardOutputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardOutputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/DefaultSocketFactory.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/DefaultSocketFactory.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIEncoderDecoder.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIEncoderDecoder.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIHelper.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIHelper.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/DefaultSSLSocketFactory.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/DefaultSSLSocketFactory.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLServerSocket.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLServerSocket.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocketFactory.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocketFactory.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocketInputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocketInputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocketOutputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocketOutputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/tcp/TcpSocket.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/tcp/TcpSocket.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/tcp/TcpSocketInputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/tcp/TcpSocketInputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/tcp/TcpSocketOutputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/tcp/TcpSocketOutputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/BufferFactory.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/BufferFactory.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ByteArrayBuffer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ByteArrayBuffer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/CharArrayBuffer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/CharArrayBuffer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/DoubleArrayBuffer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/DoubleArrayBuffer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/FloatArrayBuffer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/FloatArrayBuffer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/IntArrayBuffer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/IntArrayBuffer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/LongArrayBuffer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/LongArrayBuffer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ShortArrayBuffer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/nio/ShortArrayBuffer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/ByteArrayAdapter.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/ByteArrayAdapter.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/HexStringParser.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/concurrent/SynchronizableImpl.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/concurrent/SynchronizableImpl.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/concurrent/TransferQueue.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/concurrent/TransferStack.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/concurrent/Transferer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/BlockingByteArrayInputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/BlockingByteArrayInputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/BufferedInputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/BufferedInputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/BufferedOutputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/BufferedOutputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/ByteArrayInputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/ByteArrayInputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/ByteArrayOutputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/ByteArrayOutputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataInput.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataInputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataInputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataOutput.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataOutputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/DataOutputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/FilterInputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/FilterInputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/FilterOutputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/FilterOutputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InputStreamReader.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InputStreamReader.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/OutputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/OutputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/OutputStreamWriter.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/OutputStreamWriter.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/PushbackInputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/PushbackInputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Reader.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Reader.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Writer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/Writer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Double.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Double.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ServerSocket.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ServerSocket.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/Socket.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/Socket.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketFactory.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketFactory.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketImpl.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketImpl.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/URI.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/URI.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/Buffer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/Buffer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/ByteBuffer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/ByteBuffer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/CharBuffer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/CharBuffer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/DoubleBuffer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/DoubleBuffer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/FloatBuffer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/FloatBuffer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/IntBuffer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/IntBuffer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/LongBuffer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/LongBuffer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/ShortBuffer.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/ShortBuffer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/security/cert/Certificate.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/security/cert/X509Certificate.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/AbstractCollection.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/AbstractQueue.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/AbstractSet.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/Collection.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/Iterator.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/List.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/ListIterator.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/Map.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/PriorityQueue.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/Queue.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/StlList.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/StlMap.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/StlQueue.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/StlSet.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/BlockingQueue.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/Callable.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ConcurrentMap.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ConcurrentStlMap.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/CountDownLatch.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/CountDownLatch.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/Executor.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ExecutorService.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/Future.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/Mutex.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/Mutex.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/PooledThread.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/PooledThread.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/PooledThreadListener.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/Semaphore.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/Semaphore.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/Synchronizable.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/SynchronousQueue.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ThreadPool.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ThreadPool.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/TimeUnit.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/TimeUnit.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/Condition.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/Lock.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/ReentrantLock.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/ReentrantLock.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/ConsoleHandler.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/ConsoleHandler.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/Level.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/Level.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/LogManager.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/LogManager.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/Logger.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/Logger.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/StreamHandler.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/logging/StreamHandler.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Adler32.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Adler32.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CRC32.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CRC32.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedInputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedInputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedOutputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/CheckedOutputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Checksum.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Deflater.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Deflater.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/DeflaterOutputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/DeflaterOutputStream.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/Inflater.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/InflaterInputStream.cpp
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/InflaterInputStream.h
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/PooledSession.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/PooledSession.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/PooledSession.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/PooledSession.h Fri Jul 2 19:04:44 2010
@@ -189,8 +189,7 @@ namespace cmsutil {
return session->createBytesMessage( bytes, bytesSize );
}
- virtual cms::StreamMessage* createStreamMessage()
- throw ( cms::CMSException ) {
+ virtual cms::StreamMessage* createStreamMessage() {
return session->createStreamMessage();
}
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp Fri Jul 2 19:04:44 2010
@@ -59,24 +59,18 @@ namespace{
protected:
- virtual void doWriteByte( unsigned char value ) throw ( decaf::io::IOException ) {
+ virtual void doWriteByte( unsigned char value ) {
(*length)++;
FilterOutputStream::doWriteByte( value );
}
- virtual void doWriteArray( const unsigned char* buffer, int size )
- throw ( decaf::io::IOException,
- decaf::lang::exceptions::NullPointerException,
- decaf::lang::exceptions::IndexOutOfBoundsException ) {
+ virtual void doWriteArray( const unsigned char* buffer, int size ) {
(*length) += size;
FilterOutputStream::doWriteArray( buffer, size );
}
- 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 ) {
(*this->length) += length;
FilterOutputStream::doWriteArrayBounded( buffer, size, offset, length );
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.cpp Fri Jul 2 19:04:44 2010
@@ -94,8 +94,7 @@ void ActiveMQMapMessage::clearBody() thr
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQMapMessage::beforeMarshal( WireFormat* wireFormat )
- throw ( decaf::io::IOException ) {
+void ActiveMQMapMessage::beforeMarshal( WireFormat* wireFormat ) {
try{
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.h Fri Jul 2 19:04:44 2010
@@ -68,8 +68,7 @@ namespace commands{
virtual void copyDataStructure( const DataStructure* src );
- virtual void beforeMarshal( wireformat::WireFormat* wireFormat )
- throw ( decaf::io::IOException );
+ virtual void beforeMarshal( wireformat::WireFormat* wireFormat );
virtual std::string toString() const;
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.cpp Fri Jul 2 19:04:44 2010
@@ -79,8 +79,7 @@ void ActiveMQTransactionContext::removeS
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQTransactionContext::begin()
- throw ( activemq::exceptions::ActiveMQException ) {
+void ActiveMQTransactionContext::begin() {
try{
@@ -112,8 +111,7 @@ void ActiveMQTransactionContext::begin()
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQTransactionContext::commit()
- throw ( activemq::exceptions::ActiveMQException ) {
+void ActiveMQTransactionContext::commit() {
try{
@@ -146,8 +144,7 @@ void ActiveMQTransactionContext::commit(
}
////////////////////////////////////////////////////////////////////////////////
-void ActiveMQTransactionContext::rollback()
- throw ( activemq::exceptions::ActiveMQException ) {
+void ActiveMQTransactionContext::rollback() {
try{
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQTransactionContext.h Fri Jul 2 19:04:44 2010
@@ -100,19 +100,19 @@ namespace core{
* Begins a new transaction if one is not currently in progress.
* @throw ActiveMQException
*/
- virtual void begin() throw ( exceptions::ActiveMQException );
+ virtual void begin();
/**
* Commit the current Transaction
* @throw ActiveMQException
*/
- virtual void commit() throw ( exceptions::ActiveMQException );
+ virtual void commit();
/**
* Rollback the current Transaction
* @throw ActiveMQException
*/
- virtual void rollback() throw ( exceptions::ActiveMQException );
+ virtual void rollback();
/**
* Get the Transaction Id object for the current
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingInputStream.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingInputStream.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingInputStream.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingInputStream.cpp Fri Jul 2 19:04:44 2010
@@ -36,7 +36,7 @@ LoggingInputStream::LoggingInputStream(
LoggingInputStream::~LoggingInputStream() {}
////////////////////////////////////////////////////////////////////////////////
-int LoggingInputStream::doReadByte() throw ( IOException ) {
+int LoggingInputStream::doReadByte() {
try {
unsigned char c = (unsigned char)FilterInputStream::doReadByte();
@@ -49,10 +49,7 @@ int LoggingInputStream::doReadByte() thr
////////////////////////////////////////////////////////////////////////////////
int LoggingInputStream::doReadArrayBounded( unsigned char* buffer, int size,
- int offset, int length )
- throw ( decaf::io::IOException,
- decaf::lang::exceptions::IndexOutOfBoundsException,
- decaf::lang::exceptions::NullPointerException ) {
+ int offset, int length ) {
try {
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingInputStream.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingInputStream.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingInputStream.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingInputStream.h Fri Jul 2 19:04:44 2010
@@ -46,12 +46,9 @@ namespace io{
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 );
private:
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingOutputStream.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingOutputStream.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingOutputStream.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingOutputStream.cpp Fri Jul 2 19:04:44 2010
@@ -36,7 +36,7 @@ LoggingOutputStream::LoggingOutputStream
LoggingOutputStream::~LoggingOutputStream() {}
////////////////////////////////////////////////////////////////////////////////
-void LoggingOutputStream::doWriteByte( const unsigned char c ) throw ( IOException ) {
+void LoggingOutputStream::doWriteByte( const unsigned char c ) {
try {
log( &c, 1 );
@@ -48,10 +48,7 @@ void LoggingOutputStream::doWriteByte( c
////////////////////////////////////////////////////////////////////////////////
void LoggingOutputStream::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/activemq/io/LoggingOutputStream.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingOutputStream.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingOutputStream.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/io/LoggingOutputStream.h Fri Jul 2 19:04:44 2010
@@ -51,12 +51,9 @@ namespace io{
protected:
- virtual void doWriteByte( unsigned char c ) throw ( decaf::io::IOException );
+ virtual void doWriteByte( unsigned char c );
- 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 );
private:
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/BackupTransportPool.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/BackupTransportPool.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/BackupTransportPool.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/BackupTransportPool.cpp Fri Jul 2 19:04:44 2010
@@ -219,8 +219,7 @@ void BackupTransportPool::onBackupTransp
}
////////////////////////////////////////////////////////////////////////////////
-Pointer<Transport> BackupTransportPool::createTransport( const URI& location ) const
- throw ( decaf::io::IOException ) {
+Pointer<Transport> BackupTransportPool::createTransport( const URI& location ) const {
try{
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/BackupTransportPool.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/BackupTransportPool.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/BackupTransportPool.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/failover/BackupTransportPool.h Fri Jul 2 19:04:44 2010
@@ -123,8 +123,7 @@ namespace failover {
// the internal transport to the close transport's task for cleanup.
void onBackupTransportFailure( BackupTransport* failedTransport );
- Pointer<Transport> createTransport( const URI& location ) const
- throw ( decaf::io::IOException );
+ Pointer<Transport> createTransport( const URI& location ) const;
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransportFactory.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransportFactory.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransportFactory.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransportFactory.cpp Fri Jul 2 19:04:44 2010
@@ -42,8 +42,7 @@ using namespace decaf::io;
using namespace decaf::lang;
////////////////////////////////////////////////////////////////////////////////
-Pointer<Transport> MockTransportFactory::create( const decaf::net::URI& location )
- throw ( activemq::exceptions::ActiveMQException ) {
+Pointer<Transport> MockTransportFactory::create( const decaf::net::URI& location ) {
try{
@@ -72,8 +71,7 @@ Pointer<Transport> MockTransportFactory:
}
////////////////////////////////////////////////////////////////////////////////
-Pointer<Transport> MockTransportFactory::createComposite( const decaf::net::URI& location )
- throw ( activemq::exceptions::ActiveMQException ) {
+Pointer<Transport> MockTransportFactory::createComposite( const decaf::net::URI& location ) {
try{
@@ -94,8 +92,7 @@ Pointer<Transport> MockTransportFactory:
Pointer<Transport> MockTransportFactory::doCreateComposite(
const decaf::net::URI& location AMQCPP_UNUSED,
const Pointer<wireformat::WireFormat>& wireFormat,
- const decaf::util::Properties& properties )
- throw ( activemq::exceptions::ActiveMQException ) {
+ const decaf::util::Properties& properties ) {
try {
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransportFactory.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransportFactory.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransportFactory.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/mock/MockTransportFactory.h Fri Jul 2 19:04:44 2010
@@ -42,8 +42,7 @@ namespace mock{
* @param location - URI location to connect to plus any properties to assign.
* @throws ActiveMQexception if an error occurs
*/
- virtual Pointer<Transport> create( const decaf::net::URI& location )
- throw ( exceptions::ActiveMQException );
+ virtual Pointer<Transport> create( const decaf::net::URI& location );
/**
* Creates a slimed down Transport instance which can be used in composite
@@ -51,8 +50,7 @@ namespace mock{
* @param location - URI location to connect to plus any properties to assign.
* @throws ActiveMQexception if an error occurs
*/
- virtual Pointer<Transport> createComposite( const decaf::net::URI& location )
- throw ( exceptions::ActiveMQException );
+ virtual Pointer<Transport> createComposite( const decaf::net::URI& location );
protected:
@@ -69,8 +67,7 @@ namespace mock{
*/
virtual Pointer<Transport> doCreateComposite( const decaf::net::URI& location,
const Pointer<wireformat::WireFormat>& wireFormat,
- const decaf::util::Properties& properties )
- throw ( exceptions::ActiveMQException );
+ const decaf::util::Properties& properties );
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompFrame.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompFrame.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompFrame.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompFrame.cpp Fri Jul 2 19:04:44 2010
@@ -63,8 +63,7 @@ void StompFrame::setBody( const unsigned
}
////////////////////////////////////////////////////////////////////////////////
-void StompFrame::toStream( decaf::io::DataOutputStream* stream ) const
- throw( decaf::io::IOException ) {
+void StompFrame::toStream( decaf::io::DataOutputStream* stream ) const {
if( stream == NULL ) {
throw NullPointerException(
@@ -110,8 +109,7 @@ void StompFrame::toStream( decaf::io::Da
}
////////////////////////////////////////////////////////////////////////////////
-void StompFrame::fromStream( decaf::io::DataInputStream* in )
- throw ( decaf::io::IOException ) {
+void StompFrame::fromStream( decaf::io::DataInputStream* in ) {
if( in == NULL ) {
throw decaf::io::IOException(
@@ -135,8 +133,7 @@ void StompFrame::fromStream( decaf::io::
}
////////////////////////////////////////////////////////////////////////////////
-void StompFrame::readCommandHeader( decaf::io::DataInputStream* in )
- throw ( decaf::io::IOException ) {
+void StompFrame::readCommandHeader( decaf::io::DataInputStream* in ) {
try{
@@ -171,8 +168,7 @@ void StompFrame::readCommandHeader( deca
}
////////////////////////////////////////////////////////////////////////////////
-void StompFrame::readHeaders( decaf::io::DataInputStream* in )
- throw ( decaf::io::IOException ) {
+void StompFrame::readHeaders( decaf::io::DataInputStream* in ) {
try{
@@ -230,8 +226,7 @@ void StompFrame::readHeaders( decaf::io:
////////////////////////////////////////////////////////////////////////////////
std::size_t StompFrame::readHeaderLine( std::vector<unsigned char>& buffer,
- decaf::io::DataInputStream* in )
- throw ( decaf::io::IOException ) {
+ decaf::io::DataInputStream* in ) {
try{
@@ -269,8 +264,7 @@ std::size_t StompFrame::readHeaderLine(
}
////////////////////////////////////////////////////////////////////////////////
-void StompFrame::readBody( decaf::io::DataInputStream* in )
- throw ( decaf::io::IOException ) {
+void StompFrame::readBody( decaf::io::DataInputStream* in ) {
try{
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompFrame.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompFrame.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompFrame.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompFrame.h Fri Jul 2 19:04:44 2010
@@ -172,8 +172,7 @@ namespace stomp{
*
* @throw IOException if an error occurs while reading the Frame.
*/
- void toStream( decaf::io::DataOutputStream* stream ) const
- throw ( decaf::io::IOException );
+ void toStream( decaf::io::DataOutputStream* stream ) const;
/**
* Reads a Stop Frame from a DataInputStream in the Stomp Wire format.
@@ -182,8 +181,7 @@ namespace stomp{
*
* @throw IOException if an error occurs while writing the Frame.
*/
- void fromStream( decaf::io::DataInputStream* stream )
- throw ( decaf::io::IOException );
+ void fromStream( decaf::io::DataInputStream* stream );
private:
@@ -192,16 +190,14 @@ namespace stomp{
* @param in - The stream to read the Frame from.
* @throws IOException
*/
- void readCommandHeader( decaf::io::DataInputStream* in )
- throw ( decaf::io::IOException );
+ void readCommandHeader( decaf::io::DataInputStream* in );
/**
* Read all the Stomp Headers for the incoming Frame
* @param in - The stream to read the Frame from.
* @throws IOException
*/
- void readHeaders( decaf::io::DataInputStream* in )
- throw ( decaf::io::IOException );
+ void readHeaders( decaf::io::DataInputStream* in );
/**
* Reads a Stomp Header line and stores it in the buffer object
@@ -211,16 +207,14 @@ namespace stomp{
* @throws IOException
*/
std::size_t readHeaderLine( std::vector<unsigned char>& buffer,
- decaf::io::DataInputStream* in )
- throw ( decaf::io::IOException );
+ decaf::io::DataInputStream* in );
/**
* Reads the Stomp Body from the Wire and store it in the frame.
* @param in - The stream to read the Frame from.
* @throws IOException
*/
- void readBody( decaf::io::DataInputStream* in )
- throw ( decaf::io::IOException );
+ void readBody( decaf::io::DataInputStream* in );
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.cpp Fri Jul 2 19:04:44 2010
@@ -71,8 +71,7 @@ StompWireFormat::~StompWireFormat() {
////////////////////////////////////////////////////////////////////////////////
void StompWireFormat::marshal( const Pointer<Command>& command,
const activemq::transport::Transport* transport,
- decaf::io::DataOutputStream* out )
- throw ( decaf::io::IOException ) {
+ decaf::io::DataOutputStream* out ) {
try{
@@ -130,8 +129,7 @@ void StompWireFormat::marshal( const Poi
////////////////////////////////////////////////////////////////////////////////
Pointer<Command> StompWireFormat::unmarshal( const activemq::transport::Transport* transport,
- decaf::io::DataInputStream* in )
- throw ( decaf::io::IOException ) {
+ decaf::io::DataInputStream* in ) {
if( transport == NULL ) {
throw decaf::io::IOException(
@@ -194,8 +192,7 @@ Pointer<Command> StompWireFormat::unmars
////////////////////////////////////////////////////////////////////////////////
Pointer<transport::Transport> StompWireFormat::createNegotiator(
- const Pointer<transport::Transport>& transport AMQCPP_UNUSED )
- throw( decaf::lang::exceptions::UnsupportedOperationException ) {
+ const Pointer<transport::Transport>& transport AMQCPP_UNUSED ) {
throw UnsupportedOperationException( __FILE__, __LINE__,
"No Negotiator is required to use this WireFormat." );
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormat.h Fri Jul 2 19:04:44 2010
@@ -68,8 +68,7 @@ namespace stomp {
*/
virtual void marshal( const Pointer<commands::Command>& command,
const activemq::transport::Transport* transport,
- decaf::io::DataOutputStream* out )
- throw ( decaf::io::IOException );
+ decaf::io::DataOutputStream* out );
/**
* Stream based un-marshaling, blocks on reads on the input stream until a complete
@@ -82,8 +81,7 @@ namespace stomp {
* @throws IOException
*/
virtual Pointer<commands::Command> unmarshal( const activemq::transport::Transport* transport,
- decaf::io::DataInputStream* in )
- throw ( decaf::io::IOException );
+ decaf::io::DataInputStream* in );
/**
* Set the Version
@@ -124,8 +122,7 @@ namespace stomp {
* @throws UnsupportedOperationException if the WireFormat doesn't have a Negotiator.
*/
virtual Pointer<transport::Transport> createNegotiator(
- const Pointer<transport::Transport>& transport )
- throw( decaf::lang::exceptions::UnsupportedOperationException );
+ const Pointer<transport::Transport>& transport );
private:
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormatFactory.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormatFactory.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormatFactory.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormatFactory.cpp Fri Jul 2 19:04:44 2010
@@ -27,8 +27,7 @@ using namespace activemq::exceptions;
////////////////////////////////////////////////////////////////////////////////
Pointer<WireFormat> StompWireFormatFactory::createWireFormat(
- const decaf::util::Properties& properties AMQCPP_UNUSED )
- throw ( decaf::lang::exceptions::IllegalStateException ) {
+ const decaf::util::Properties& properties AMQCPP_UNUSED ) {
try{
return Pointer<WireFormat>( new StompWireFormat() );
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormatFactory.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormatFactory.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormatFactory.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/stomp/StompWireFormatFactory.h Fri Jul 2 19:04:44 2010
@@ -43,8 +43,7 @@ namespace stomp {
* properties from which it can obtain any optional settings
* @param properties - the Properties for this WireFormat
*/
- virtual Pointer<WireFormat> createWireFormat( const decaf::util::Properties& properties )
- throw ( decaf::lang::exceptions::IllegalStateException );
+ virtual Pointer<WireFormat> createWireFormat( const decaf::util::Properties& properties );
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardErrorOutputStream.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardErrorOutputStream.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardErrorOutputStream.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardErrorOutputStream.cpp Fri Jul 2 19:04:44 2010
@@ -32,18 +32,13 @@ StandardErrorOutputStream::~StandardErro
}
////////////////////////////////////////////////////////////////////////////////
-void StandardErrorOutputStream::doWriteByte( unsigned char c )
- throw ( decaf::io::IOException ) {
-
+void StandardErrorOutputStream::doWriteByte( unsigned char c ) {
std::cerr << c;
}
////////////////////////////////////////////////////////////////////////////////
void StandardErrorOutputStream::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 ) {
if( length == 0 ) {
return;
@@ -76,11 +71,11 @@ void StandardErrorOutputStream::doWriteA
}
////////////////////////////////////////////////////////////////////////////////
-void StandardErrorOutputStream::flush() throw ( decaf::io::IOException ){
+void StandardErrorOutputStream::flush() {
std::cerr.flush();
}
////////////////////////////////////////////////////////////////////////////////
-void StandardErrorOutputStream::close() throw ( decaf::io::IOException ){
+void StandardErrorOutputStream::close() {
std::cerr.flush();
}
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardErrorOutputStream.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardErrorOutputStream.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardErrorOutputStream.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardErrorOutputStream.h Fri Jul 2 19:04:44 2010
@@ -36,18 +36,15 @@ namespace io{
virtual ~StandardErrorOutputStream();
- virtual void flush() throw ( decaf::io::IOException );
+ virtual void flush();
- 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 );
+ virtual void doWriteArrayBounded( const unsigned char* buffer, int size, int offset, int length );
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardInputStream.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardInputStream.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardInputStream.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardInputStream.cpp Fri Jul 2 19:04:44 2010
@@ -35,12 +35,12 @@ StandardInputStream::~StandardInputStrea
}
////////////////////////////////////////////////////////////////////////////////
-int StandardInputStream::available() const throw ( decaf::io::IOException ) {
+int StandardInputStream::available() const {
return 1;
}
////////////////////////////////////////////////////////////////////////////////
-int StandardInputStream::doReadByte() throw ( decaf::io::IOException ) {
+int StandardInputStream::doReadByte() {
if( !std::cin.good() ) {
throw decaf::io::IOException(
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardInputStream.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardInputStream.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardInputStream.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardInputStream.h Fri Jul 2 19:04:44 2010
@@ -32,11 +32,11 @@ namespace io {
virtual ~StandardInputStream();
- virtual int available() const throw ( decaf::io::IOException );
+ virtual int available() const;
protected:
- virtual int doReadByte() throw ( decaf::io::IOException );
+ virtual int doReadByte();
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardOutputStream.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardOutputStream.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardOutputStream.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardOutputStream.cpp Fri Jul 2 19:04:44 2010
@@ -32,18 +32,14 @@ StandardOutputStream::~StandardOutputStr
}
////////////////////////////////////////////////////////////////////////////////
-void StandardOutputStream::doWriteByte( unsigned char c )
- throw ( decaf::io::IOException ) {
+void StandardOutputStream::doWriteByte( unsigned char c ) {
std::cout << c;
}
////////////////////////////////////////////////////////////////////////////////
void StandardOutputStream::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 ) {
if( length == 0 ) {
return;
@@ -76,11 +72,11 @@ void StandardOutputStream::doWriteArrayB
}
////////////////////////////////////////////////////////////////////////////////
-void StandardOutputStream::flush() throw ( decaf::io::IOException ){
+void StandardOutputStream::flush() {
std::cout.flush();
}
////////////////////////////////////////////////////////////////////////////////
-void StandardOutputStream::close() throw ( decaf::io::IOException ){
+void StandardOutputStream::close() {
std::cout.flush();
}
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardOutputStream.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardOutputStream.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardOutputStream.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/io/StandardOutputStream.h Fri Jul 2 19:04:44 2010
@@ -32,18 +32,15 @@ namespace io {
virtual ~StandardOutputStream();
- virtual void flush() throw ( decaf::io::IOException );
+ virtual void flush();
- 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 );
+ virtual void doWriteArrayBounded( const unsigned char* buffer, int size, int offset, int length );
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/DefaultSocketFactory.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/DefaultSocketFactory.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/DefaultSocketFactory.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/DefaultSocketFactory.cpp Fri Jul 2 19:04:44 2010
@@ -39,8 +39,7 @@ DefaultSocketFactory::~DefaultSocketFact
}
////////////////////////////////////////////////////////////////////////////////
-Socket* DefaultSocketFactory::createSocket()
- throw( decaf::io::IOException ) {
+Socket* DefaultSocketFactory::createSocket() {
try{
@@ -53,8 +52,7 @@ Socket* DefaultSocketFactory::createSock
}
////////////////////////////////////////////////////////////////////////////////
-Socket* DefaultSocketFactory::createSocket( const decaf::net::InetAddress* host, int port )
- throw( decaf::io::IOException, decaf::net::UnknownHostException ) {
+Socket* DefaultSocketFactory::createSocket( const decaf::net::InetAddress* host, int port ) {
try {
@@ -78,8 +76,7 @@ Socket* DefaultSocketFactory::createSock
////////////////////////////////////////////////////////////////////////////////
Socket* DefaultSocketFactory::createSocket( const decaf::net::InetAddress* host, int port,
- const decaf::net::InetAddress* ifAddress, int localPort )
- throw( decaf::io::IOException, decaf::net::UnknownHostException ) {
+ const decaf::net::InetAddress* ifAddress, int localPort ) {
try {
@@ -102,8 +99,7 @@ Socket* DefaultSocketFactory::createSock
}
////////////////////////////////////////////////////////////////////////////////
-Socket* DefaultSocketFactory::createSocket( const std::string& hostname, int port )
- throw( decaf::io::IOException, decaf::net::UnknownHostException ) {
+Socket* DefaultSocketFactory::createSocket( const std::string& hostname, int port ) {
try {
@@ -127,8 +123,7 @@ Socket* DefaultSocketFactory::createSock
////////////////////////////////////////////////////////////////////////////////
Socket* DefaultSocketFactory::createSocket( const std::string& hostname, int port,
- const InetAddress* ifAddress, int localPort )
- throw( decaf::io::IOException, decaf::net::UnknownHostException ) {
+ const InetAddress* ifAddress, int localPort ) {
try {
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/DefaultSocketFactory.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/DefaultSocketFactory.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/DefaultSocketFactory.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/DefaultSocketFactory.h Fri Jul 2 19:04:44 2010
@@ -46,34 +46,29 @@ namespace net {
/**
* {@inheritDoc}
*/
- virtual decaf::net::Socket* createSocket()
- throw( decaf::io::IOException );
+ virtual decaf::net::Socket* createSocket();
/**
* {@inheritDoc}
*/
- virtual decaf::net::Socket* createSocket( const decaf::net::InetAddress* host, int port )
- throw( decaf::io::IOException, decaf::net::UnknownHostException );
+ virtual decaf::net::Socket* createSocket( const decaf::net::InetAddress* host, int port );
/**
* {@inheritDoc}
*/
virtual decaf::net::Socket* createSocket( const decaf::net::InetAddress* host, int port,
- const decaf::net::InetAddress* ifAddress, int localPort )
- throw( decaf::io::IOException, decaf::net::UnknownHostException );
+ const decaf::net::InetAddress* ifAddress, int localPort );
/**
* {@inheritDoc}
*/
- virtual decaf::net::Socket* createSocket( const std::string& name, int port )
- throw( decaf::io::IOException, decaf::net::UnknownHostException );
+ virtual decaf::net::Socket* createSocket( const std::string& name, int port );
/**
* {@inheritDoc}
*/
virtual decaf::net::Socket* createSocket( const std::string& name, int port,
- const decaf::net::InetAddress* ifAddress, int localPort )
- throw( decaf::io::IOException, decaf::net::UnknownHostException );
+ const decaf::net::InetAddress* ifAddress, int localPort );
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIEncoderDecoder.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIEncoderDecoder.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIEncoderDecoder.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIEncoderDecoder.cpp Fri Jul 2 19:04:44 2010
@@ -35,8 +35,7 @@ URIEncoderDecoder::URIEncoderDecoder() {
}
////////////////////////////////////////////////////////////////////////////////
-void URIEncoderDecoder::validate( const std::string& s, const std::string& legal)
- throw ( URISyntaxException ) {
+void URIEncoderDecoder::validate( const std::string& s, const std::string& legal ) {
std::string::const_iterator itr = s.begin();
@@ -79,9 +78,7 @@ void URIEncoderDecoder::validate( const
}
////////////////////////////////////////////////////////////////////////////////
-void URIEncoderDecoder::validateSimple( const std::string& s,
- const std::string& legal )
- throw ( URISyntaxException ) {
+void URIEncoderDecoder::validateSimple( const std::string& s, const std::string& legal ) {
std::string::const_iterator itr = s.begin();
@@ -100,8 +97,7 @@ void URIEncoderDecoder::validateSimple(
}
////////////////////////////////////////////////////////////////////////////////
-std::string URIEncoderDecoder::quoteIllegal( const std::string& s,
- const std::string& legal ) {
+std::string URIEncoderDecoder::quoteIllegal( const std::string& s, const std::string& legal ) {
std::string buf = "";
std::string::const_iterator iter = s.begin();
@@ -129,6 +125,7 @@ std::string URIEncoderDecoder::quoteIlle
////////////////////////////////////////////////////////////////////////////////
std::string URIEncoderDecoder::encodeOthers( const std::string& s ) {
+
std::string buf = "";
for( std::size_t i = 0; i < s.length(); i++ ) {
char ch = s.at(i);
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIEncoderDecoder.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIEncoderDecoder.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIEncoderDecoder.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIEncoderDecoder.h Fri Jul 2 19:04:44 2010
@@ -46,9 +46,10 @@ namespace net{
*
* @param s - the string to be validated
* @param legal - the characters allowed in the string s
+ *
+ * @throws URISyntaxException if the uri string is not well formed.
*/
- static void validate( const std::string& s, const std::string& legal )
- throw ( decaf::net::URISyntaxException );
+ static void validate( const std::string& s, const std::string& legal );
/**
* Validate a string by checking if it contains any characters other than:
@@ -59,9 +60,10 @@ namespace net{
*
* @param s - the string to be validated
* @param legal - the characters allowed in the string s
+ *
+ * @throws URISyntaxException if the uri string is not well formed.
*/
- static void validateSimple( const std::string& s, const std::string& legal )
- throw ( decaf::net::URISyntaxException );
+ static void validateSimple( const std::string& s, const std::string& legal );
/**
* All characters except letters ('a'..'z', 'A'..'Z') and numbers ('0'..'9')
@@ -76,8 +78,7 @@ namespace net{
* @param legal - the characters allowed to be preserved in the string s
* @return converted string
*/
- static std::string quoteIllegal( const std::string& s,
- const std::string& legal );
+ static std::string quoteIllegal( const std::string& s, const std::string& legal );
/**
* Other characters, which are chars that are not US-ASCII, and are
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIHelper.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIHelper.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIHelper.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIHelper.cpp Fri Jul 2 19:04:44 2010
@@ -54,8 +54,7 @@ URIHelper::URIHelper() : unreserved( "_-
}
////////////////////////////////////////////////////////////////////////////////
-URIType URIHelper::parseURI( const std::string& uri, bool forceServer )
- throw( URISyntaxException ) {
+URIType URIHelper::parseURI( const std::string& uri, bool forceServer ) {
URIType result( uri );
@@ -183,8 +182,7 @@ URIType URIHelper::parseURI( const std::
}
////////////////////////////////////////////////////////////////////////////////
-void URIHelper::validateScheme( const std::string& uri, const std::string& scheme, int index )
- throw( URISyntaxException ) {
+void URIHelper::validateScheme( const std::string& uri, const std::string& scheme, int index ) {
// first char needs to be an alpha char
if( !Character::isLetter( scheme.at(0) ) ) {
@@ -204,8 +202,7 @@ void URIHelper::validateScheme( const st
////////////////////////////////////////////////////////////////////////////////
void URIHelper::validateSsp( const std::string& uri, const std::string& ssp,
- std::size_t index )
- throw( URISyntaxException ) {
+ std::size_t index ) {
try {
URIEncoderDecoder::validate( ssp, allLegal );
@@ -218,8 +215,7 @@ void URIHelper::validateSsp( const std::
////////////////////////////////////////////////////////////////////////////////
void URIHelper::validateAuthority( const std::string& uri, const std::string& authority,
- std::size_t index )
- throw( URISyntaxException ) {
+ std::size_t index ) {
try {
// "@[]" + someLegal
@@ -233,8 +229,7 @@ void URIHelper::validateAuthority( const
////////////////////////////////////////////////////////////////////////////////
void URIHelper::validatePath( const std::string& uri, const std::string& path,
- std::size_t index )
- throw( URISyntaxException ) {
+ std::size_t index ) {
try {
// "/@" + someLegal
@@ -248,8 +243,7 @@ void URIHelper::validatePath( const std:
////////////////////////////////////////////////////////////////////////////////
void URIHelper::validateQuery( const std::string& uri, const std::string& query,
- std::size_t index )
- throw( URISyntaxException ) {
+ std::size_t index ) {
try {
URIEncoderDecoder::validate( query, allLegal );
@@ -262,8 +256,7 @@ void URIHelper::validateQuery( const std
////////////////////////////////////////////////////////////////////////////////
void URIHelper::validateFragment( const std::string& uri, const std::string& fragment,
- std::size_t index )
- throw( URISyntaxException ) {
+ std::size_t index ) {
try {
URIEncoderDecoder::validate( fragment, allLegal );
@@ -275,8 +268,7 @@ void URIHelper::validateFragment( const
}
////////////////////////////////////////////////////////////////////////////////
-URIType URIHelper::parseAuthority( bool forceServer, const std::string& authority )
- throw( URISyntaxException ) {
+URIType URIHelper::parseAuthority( bool forceServer, const std::string& authority ) {
try{
@@ -372,8 +364,7 @@ URIType URIHelper::parseAuthority( bool
////////////////////////////////////////////////////////////////////////////////
void URIHelper::validateUserinfo( const std::string& uri, const std::string& userinfo,
- std::size_t index )
- throw( URISyntaxException ) {
+ std::size_t index ) {
for( std::size_t i = 0; i < userinfo.length(); i++ ) {
@@ -387,8 +378,7 @@ void URIHelper::validateUserinfo( const
}
////////////////////////////////////////////////////////////////////////////////
-bool URIHelper::isValidHost( bool forceServer, const std::string& host )
- throw( URISyntaxException ) {
+bool URIHelper::isValidHost( bool forceServer, const std::string& host ) {
try{
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIHelper.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIHelper.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIHelper.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/URIHelper.h Fri Jul 2 19:04:44 2010
@@ -72,8 +72,7 @@ namespace net {
* @returns a URIType instance containing the parsed data.
* @throws URISyntaxException if forceServer is true and the URI is invalid.
*/
- URIType parseURI( const std::string& uri, bool forceServer )
- throw( decaf::net::URISyntaxException );
+ URIType parseURI( const std::string& uri, bool forceServer );
/**
* Validate the schema portin of the URI.
@@ -82,8 +81,7 @@ namespace net {
* @param index - index in uri where schema starts.
* @throw URISyntaxException if the fragment has errors.
*/
- void validateScheme( const std::string& uri, const std::string& scheme, int index )
- throw( decaf::net::URISyntaxException );
+ void validateScheme( const std::string& uri, const std::string& scheme, int index );
/**
* Validate that the URI Ssp Segment contains no invalid encodings.
@@ -93,8 +91,7 @@ namespace net {
* @throw URISyntaxException if the fragment has errors.
*/
void validateSsp( const std::string& uri, const std::string& ssp,
- std::size_t index )
- throw( decaf::net::URISyntaxException );
+ std::size_t index );
/**
* Validate that the URI Authority Segment contains no invalid encodings.
@@ -104,8 +101,7 @@ namespace net {
* @throw URISyntaxException if the fragment has errors.
*/
void validateAuthority( const std::string& uri, const std::string& authority,
- std::size_t index )
- throw( decaf::net::URISyntaxException );
+ std::size_t index );
/**
* Validate that the URI Path Segment contains no invalid encodings.
@@ -115,8 +111,7 @@ namespace net {
* @throw URISyntaxException if the fragment has errors.
*/
void validatePath( const std::string& uri, const std::string& path,
- std::size_t index )
- throw( decaf::net::URISyntaxException );
+ std::size_t index );
/**
* Validate that the URI Query Segment contains no invalid encodings.
@@ -126,8 +121,7 @@ namespace net {
* @throw URISyntaxException if the fragment has errors.
*/
void validateQuery( const std::string& uri, const std::string& query,
- std::size_t index )
- throw( decaf::net::URISyntaxException );
+ std::size_t index );
/**
* Validate that the URI fragment contains no invalid encodings.
@@ -137,8 +131,7 @@ namespace net {
* @throw URISyntaxException if the fragment has errors.
*/
void validateFragment( const std::string& uri, const std::string& fragment,
- std::size_t index )
- throw( decaf::net::URISyntaxException );
+ std::size_t index );
/**
* determine the host, port and user-info if the authority parses
@@ -157,8 +150,7 @@ namespace net {
* @returns a URIType instance containing the parsed data.
* @throw URISyntaxException
*/
- URIType parseAuthority( bool forceServer, const std::string& authority )
- throw( decaf::net::URISyntaxException );
+ URIType parseAuthority( bool forceServer, const std::string& authority );
/**
* Check the supplied user info for validity.
@@ -168,8 +160,7 @@ namespace net {
* @return true if valid
* @throw URISyntaxException if an error occurs
*/
- void validateUserinfo( const std::string& uri, const std::string& userinfo, std::size_t index )
- throw( decaf::net::URISyntaxException );
+ void validateUserinfo( const std::string& uri, const std::string& userinfo, std::size_t index );
/**
* distinguish between IPv4, IPv6, domain name and validate it based on
@@ -179,8 +170,7 @@ namespace net {
* @return true if the host value if a valid domain name.
* @throws URISyntaxException if the host is invalid and forceServer is true.
*/
- bool isValidHost( bool forceServer, const std::string& host )
- throw( decaf::net::URISyntaxException );
+ bool isValidHost( bool forceServer, const std::string& host );
/**
* Validates the string past to determine if it is a well formed
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/DefaultSSLSocketFactory.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/DefaultSSLSocketFactory.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/DefaultSSLSocketFactory.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/DefaultSSLSocketFactory.cpp Fri Jul 2 19:04:44 2010
@@ -37,38 +37,33 @@ DefaultSSLSocketFactory::~DefaultSSLSock
}
////////////////////////////////////////////////////////////////////////////////
-decaf::net::Socket* DefaultSSLSocketFactory::createSocket()
- throw( decaf::io::IOException ) {
+decaf::net::Socket* DefaultSSLSocketFactory::createSocket() {
throw IOException( __FILE__, __LINE__, errorMessage.c_str() );
}
////////////////////////////////////////////////////////////////////////////////
-Socket* DefaultSSLSocketFactory::createSocket( const decaf::net::InetAddress* host DECAF_UNUSED, int port DECAF_UNUSED )
- throw( decaf::io::IOException, decaf::net::UnknownHostException ) {
+Socket* DefaultSSLSocketFactory::createSocket( const decaf::net::InetAddress* host DECAF_UNUSED, int port DECAF_UNUSED ) {
throw IOException( __FILE__, __LINE__, errorMessage.c_str() );
}
////////////////////////////////////////////////////////////////////////////////
Socket* DefaultSSLSocketFactory::createSocket( const decaf::net::InetAddress* host DECAF_UNUSED, int port DECAF_UNUSED,
- const decaf::net::InetAddress* ifAddress DECAF_UNUSED, int localPort DECAF_UNUSED )
- throw( decaf::io::IOException, decaf::net::UnknownHostException ) {
+ const decaf::net::InetAddress* ifAddress DECAF_UNUSED, int localPort DECAF_UNUSED ) {
throw IOException( __FILE__, __LINE__, errorMessage.c_str() );
}
////////////////////////////////////////////////////////////////////////////////
-decaf::net::Socket* DefaultSSLSocketFactory::createSocket( const std::string& name DECAF_UNUSED, int port DECAF_UNUSED )
- throw( decaf::io::IOException, decaf::net::UnknownHostException ) {
+decaf::net::Socket* DefaultSSLSocketFactory::createSocket( const std::string& name DECAF_UNUSED, int port DECAF_UNUSED ) {
throw IOException( __FILE__, __LINE__, errorMessage.c_str() );
}
////////////////////////////////////////////////////////////////////////////////
decaf::net::Socket* DefaultSSLSocketFactory::createSocket( const std::string& name DECAF_UNUSED, int port DECAF_UNUSED,
- const InetAddress* ifAddress DECAF_UNUSED, int localPort DECAF_UNUSED )
- throw( decaf::io::IOException, decaf::net::UnknownHostException ) {
+ const InetAddress* ifAddress DECAF_UNUSED, int localPort DECAF_UNUSED ) {
throw IOException( __FILE__, __LINE__, errorMessage.c_str() );
}
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/DefaultSSLSocketFactory.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/DefaultSSLSocketFactory.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/DefaultSSLSocketFactory.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/DefaultSSLSocketFactory.h Fri Jul 2 19:04:44 2010
@@ -51,34 +51,29 @@ namespace ssl {
/**
* {@inheritDoc}
*/
- virtual decaf::net::Socket* createSocket()
- throw( decaf::io::IOException );
+ virtual decaf::net::Socket* createSocket();
/**
* {@inheritDoc}
*/
- virtual decaf::net::Socket* createSocket( const decaf::net::InetAddress* host, int port )
- throw( decaf::io::IOException, decaf::net::UnknownHostException );
+ virtual decaf::net::Socket* createSocket( const decaf::net::InetAddress* host, int port );
/**
* {@inheritDoc}
*/
virtual decaf::net::Socket* createSocket( const decaf::net::InetAddress* host, int port,
- const decaf::net::InetAddress* ifAddress, int localPort )
- throw( decaf::io::IOException, decaf::net::UnknownHostException );
+ const decaf::net::InetAddress* ifAddress, int localPort );
/**
* {@inheritDoc}
*/
- virtual decaf::net::Socket* createSocket( const std::string& name, int port )
- throw( decaf::io::IOException, decaf::net::UnknownHostException );
+ virtual decaf::net::Socket* createSocket( const std::string& name, int port );
/**
* {@inheritDoc}
*/
virtual decaf::net::Socket* createSocket( const std::string& name, int port,
- const decaf::net::InetAddress* ifAddress, int localPort )
- throw( decaf::io::IOException, decaf::net::UnknownHostException );
+ const decaf::net::InetAddress* ifAddress, int localPort );
/**
* {@inheritDoc}
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLServerSocket.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLServerSocket.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLServerSocket.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLServerSocket.cpp Fri Jul 2 19:04:44 2010
@@ -139,7 +139,7 @@ void OpenSSLServerSocket::setWantClientA
}
////////////////////////////////////////////////////////////////////////////////
-Socket* OpenSSLServerSocket::accept() throw( decaf::io::IOException ) {
+Socket* OpenSSLServerSocket::accept() {
try{
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLServerSocket.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLServerSocket.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLServerSocket.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLServerSocket.h Fri Jul 2 19:04:44 2010
@@ -106,7 +106,7 @@ namespace openssl {
/**
* {@inheritDoc}
*/
- virtual decaf::net::Socket* accept() throw( decaf::io::IOException );
+ virtual decaf::net::Socket* accept();
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp Fri Jul 2 19:04:44 2010
@@ -168,9 +168,7 @@ OpenSSLSocket::~OpenSSLSocket() {
}
////////////////////////////////////////////////////////////////////////////////
-void OpenSSLSocket::connect( const std::string& host, int port, int timeout )
- throw( decaf::io::IOException,
- decaf::lang::exceptions::IllegalArgumentException ) {
+void OpenSSLSocket::connect( const std::string& host, int port, int timeout ) {
try{
@@ -215,7 +213,7 @@ void OpenSSLSocket::connect( const std::
}
////////////////////////////////////////////////////////////////////////////////
-void OpenSSLSocket::close() throw( decaf::io::IOException ) {
+void OpenSSLSocket::close() {
try{
@@ -238,7 +236,7 @@ void OpenSSLSocket::close() throw( decaf
}
////////////////////////////////////////////////////////////////////////////////
-decaf::io::InputStream* OpenSSLSocket::getInputStream() throw( decaf::io::IOException ) {
+decaf::io::InputStream* OpenSSLSocket::getInputStream() {
checkClosed();
@@ -255,7 +253,7 @@ decaf::io::InputStream* OpenSSLSocket::g
}
////////////////////////////////////////////////////////////////////////////////
-decaf::io::OutputStream* OpenSSLSocket::getOutputStream() throw( decaf::io::IOException ) {
+decaf::io::OutputStream* OpenSSLSocket::getOutputStream() {
checkClosed();
@@ -272,28 +270,28 @@ decaf::io::OutputStream* OpenSSLSocket::
}
////////////////////////////////////////////////////////////////////////////////
-void OpenSSLSocket::shutdownInput() throw( decaf::io::IOException ) {
+void OpenSSLSocket::shutdownInput() {
throw SocketException(
__FILE__, __LINE__, "Not supported for SSL Sockets" );
}
////////////////////////////////////////////////////////////////////////////////
-void OpenSSLSocket::shutdownOutput() throw( decaf::io::IOException ) {
+void OpenSSLSocket::shutdownOutput() {
throw SocketException(
__FILE__, __LINE__, "Not supported for SSL Sockets" );
}
////////////////////////////////////////////////////////////////////////////////
-void OpenSSLSocket::setOOBInline( bool value DECAF_UNUSED ) throw( SocketException ) {
+void OpenSSLSocket::setOOBInline( bool value DECAF_UNUSED ) {
throw SocketException(
__FILE__, __LINE__, "Not supported for SSL Sockets" );
}
////////////////////////////////////////////////////////////////////////////////
-void OpenSSLSocket::sendUrgentData( int data DECAF_UNUSED ) throw( decaf::io::IOException ) {
+void OpenSSLSocket::sendUrgentData( int data DECAF_UNUSED ) {
throw SocketException(
__FILE__, __LINE__, "Not supported for SSL Sockets" );
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.h?rev=960088&r1=960087&r2=960088&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.h Fri Jul 2 19:04:44 2010
@@ -76,44 +76,42 @@ namespace openssl {
/**
* {@inheritDoc}
*/
- virtual void connect( const std::string& host, int port, int timeout )
- throw( decaf::io::IOException,
- decaf::lang::exceptions::IllegalArgumentException );
+ virtual void connect( const std::string& host, int port, int timeout );
/**
* {@inheritDoc}
*/
- virtual void close() throw( decaf::io::IOException );
+ virtual void close();
/**
* {@inheritDoc}
*/
- virtual decaf::io::InputStream* getInputStream() throw( decaf::io::IOException );
+ virtual decaf::io::InputStream* getInputStream();
/**
* {@inheritDoc}
*/
- virtual decaf::io::OutputStream* getOutputStream() throw( decaf::io::IOException );
+ virtual decaf::io::OutputStream* getOutputStream();
/**
* {@inheritDoc}
*/
- virtual void shutdownInput() throw( decaf::io::IOException );
+ virtual void shutdownInput();
/**
* {@inheritDoc}
*/
- virtual void shutdownOutput() throw( decaf::io::IOException );
+ virtual void shutdownOutput();
/**
* {@inheritDoc}
*/
- virtual void setOOBInline( bool value ) throw( decaf::net::SocketException );
+ virtual void setOOBInline( bool value );
/**
* {@inheritDoc}
*/
- virtual void sendUrgentData( int data ) throw( decaf::io::IOException );
+ virtual void sendUrgentData( int data );
public: // SSLSocket Overrides