summaryrefslogtreecommitdiff
path: root/io/source/acceptor/acceptor.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /io/source/acceptor/acceptor.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'io/source/acceptor/acceptor.cxx')
-rw-r--r--io/source/acceptor/acceptor.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/io/source/acceptor/acceptor.cxx b/io/source/acceptor/acceptor.cxx
index 089d08199452..6159d3e7188f 100644
--- a/io/source/acceptor/acceptor.cxx
+++ b/io/source/acceptor/acceptor.cxx
@@ -58,13 +58,13 @@ namespace io_acceptor
throw( AlreadyAcceptingException,
ConnectionSetupException,
IllegalArgumentException,
- RuntimeException);
- virtual void SAL_CALL stopAccepting( ) throw( RuntimeException);
+ RuntimeException, std::exception);
+ virtual void SAL_CALL stopAccepting( ) throw( RuntimeException, std::exception);
public: // XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw();
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw();
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw();
+ virtual OUString SAL_CALL getImplementationName() throw(std::exception);
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw(std::exception);
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(std::exception);
private:
PipeAcceptor *m_pPipe;
@@ -123,7 +123,7 @@ namespace io_acceptor
throw( AlreadyAcceptingException,
ConnectionSetupException,
IllegalArgumentException,
- RuntimeException)
+ RuntimeException, std::exception)
{
OSL_TRACE(
"acceptor %s\n",
@@ -249,7 +249,7 @@ namespace io_acceptor
return r;
}
- void SAL_CALL OAcceptor::stopAccepting( ) throw( RuntimeException)
+ void SAL_CALL OAcceptor::stopAccepting( ) throw( RuntimeException, std::exception)
{
MutexGuard guard( m_mutex );
@@ -285,17 +285,17 @@ namespace io_acceptor
return seqNames;
}
- OUString OAcceptor::getImplementationName() throw()
+ OUString OAcceptor::getImplementationName() throw(std::exception)
{
return acceptor_getImplementationName();
}
- sal_Bool OAcceptor::supportsService(const OUString& ServiceName) throw()
+ sal_Bool OAcceptor::supportsService(const OUString& ServiceName) throw(std::exception)
{
return cppu::supportsService(this, ServiceName);
}
- Sequence< OUString > OAcceptor::getSupportedServiceNames(void) throw()
+ Sequence< OUString > OAcceptor::getSupportedServiceNames(void) throw(std::exception)
{
return acceptor_getSupportedServiceNames();
}