diff options
Diffstat (limited to 'io/source/connector/ctr_socket.cxx')
-rw-r--r-- | io/source/connector/ctr_socket.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/io/source/connector/ctr_socket.cxx b/io/source/connector/ctr_socket.cxx index e27d9af76cf5..7d6e582ffadb 100644 --- a/io/source/connector/ctr_socket.cxx +++ b/io/source/connector/ctr_socket.cxx @@ -118,7 +118,7 @@ namespace stoc_connector { sal_Int32 SocketConnection::read( Sequence < sal_Int8 > & aReadBytes , sal_Int32 nBytesToRead ) throw(::com::sun::star::io::IOException, - ::com::sun::star::uno::RuntimeException) + ::com::sun::star::uno::RuntimeException, std::exception) { if( ! m_nStatus ) { @@ -164,7 +164,7 @@ namespace stoc_connector { void SocketConnection::write( const Sequence < sal_Int8 > &seq ) throw(::com::sun::star::io::IOException, - ::com::sun::star::uno::RuntimeException) + ::com::sun::star::uno::RuntimeException, std::exception) { if( ! m_nStatus ) { @@ -200,14 +200,14 @@ namespace stoc_connector { void SocketConnection::flush( ) throw(::com::sun::star::io::IOException, - ::com::sun::star::uno::RuntimeException) + ::com::sun::star::uno::RuntimeException, std::exception) { } void SocketConnection::close() throw(::com::sun::star::io::IOException, - ::com::sun::star::uno::RuntimeException) + ::com::sun::star::uno::RuntimeException, std::exception) { // ensure that close is called only once if( 1 == osl_atomic_increment( (&m_nStatus) ) ) @@ -218,7 +218,7 @@ namespace stoc_connector { } OUString SocketConnection::getDescription() - throw( ::com::sun::star::uno::RuntimeException) + throw( ::com::sun::star::uno::RuntimeException, std::exception) { return m_sDescription; } @@ -226,14 +226,14 @@ namespace stoc_connector { // XConnectionBroadcaster - void SAL_CALL SocketConnection::addStreamListener(const Reference<XStreamListener> & aListener) throw(RuntimeException) + void SAL_CALL SocketConnection::addStreamListener(const Reference<XStreamListener> & aListener) throw(RuntimeException, std::exception) { MutexGuard guard(_mutex); _listeners.insert(aListener); } - void SAL_CALL SocketConnection::removeStreamListener(const Reference<XStreamListener> & aListener) throw(RuntimeException) + void SAL_CALL SocketConnection::removeStreamListener(const Reference<XStreamListener> & aListener) throw(RuntimeException, std::exception) { MutexGuard guard(_mutex); |