diff options
Diffstat (limited to 'io/source/connector/ctr_socket.cxx')
-rw-r--r-- | io/source/connector/ctr_socket.cxx | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/io/source/connector/ctr_socket.cxx b/io/source/connector/ctr_socket.cxx index 00f35eb627f3..53ce96ae3131 100644 --- a/io/source/connector/ctr_socket.cxx +++ b/io/source/connector/ctr_socket.cxx @@ -116,8 +116,6 @@ namespace stoc_connector { } sal_Int32 SocketConnection::read( Sequence < sal_Int8 > & aReadBytes , sal_Int32 nBytesToRead ) - throw(css::io::IOException, - css::uno::RuntimeException, std::exception) { if( ! m_nStatus ) { @@ -162,8 +160,6 @@ namespace stoc_connector { } void SocketConnection::write( const Sequence < sal_Int8 > &seq ) - throw(css::io::IOException, - css::uno::RuntimeException, std::exception) { if( ! m_nStatus ) { @@ -198,15 +194,11 @@ namespace stoc_connector { } void SocketConnection::flush( ) - throw(css::io::IOException, - css::uno::RuntimeException, std::exception) { } void SocketConnection::close() - throw(css::io::IOException, - css::uno::RuntimeException, std::exception) { // ensure that close is called only once if( 1 == osl_atomic_increment( (&m_nStatus) ) ) @@ -217,21 +209,20 @@ namespace stoc_connector { } OUString SocketConnection::getDescription() - throw( css::uno::RuntimeException, std::exception) { return m_sDescription; } // XConnectionBroadcaster - void SAL_CALL SocketConnection::addStreamListener(const Reference<XStreamListener> & aListener) throw(RuntimeException, std::exception) + void SAL_CALL SocketConnection::addStreamListener(const Reference<XStreamListener> & aListener) { MutexGuard guard(_mutex); _listeners.insert(aListener); } - void SAL_CALL SocketConnection::removeStreamListener(const Reference<XStreamListener> & aListener) throw(RuntimeException, std::exception) + void SAL_CALL SocketConnection::removeStreamListener(const Reference<XStreamListener> & aListener) { MutexGuard guard(_mutex); |