diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /package/source/xstor/ocompinstream.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'package/source/xstor/ocompinstream.cxx')
-rw-r--r-- | package/source/xstor/ocompinstream.cxx | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/package/source/xstor/ocompinstream.cxx b/package/source/xstor/ocompinstream.cxx index f0cfc517e258..f72439d2d354 100644 --- a/package/source/xstor/ocompinstream.cxx +++ b/package/source/xstor/ocompinstream.cxx @@ -77,7 +77,7 @@ OInputCompStream::~OInputCompStream() } uno::Any SAL_CALL OInputCompStream::queryInterface( const uno::Type& rType ) - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { uno::Any aReturn; @@ -110,7 +110,7 @@ sal_Int32 SAL_CALL OInputCompStream::readBytes( uno::Sequence< sal_Int8 >& aData throw ( io::NotConnectedException, io::BufferSizeExceededException, io::IOException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -132,7 +132,7 @@ sal_Int32 SAL_CALL OInputCompStream::readSomeBytes( uno::Sequence< sal_Int8 >& a throw ( io::NotConnectedException, io::BufferSizeExceededException, io::IOException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -155,7 +155,7 @@ void SAL_CALL OInputCompStream::skipBytes( sal_Int32 nBytesToSkip ) throw ( io::NotConnectedException, io::BufferSizeExceededException, io::IOException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -177,7 +177,7 @@ void SAL_CALL OInputCompStream::skipBytes( sal_Int32 nBytesToSkip ) sal_Int32 SAL_CALL OInputCompStream::available( ) throw ( io::NotConnectedException, io::IOException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -199,13 +199,13 @@ sal_Int32 SAL_CALL OInputCompStream::available( ) void SAL_CALL OInputCompStream::closeInput( ) throw ( io::NotConnectedException, io::IOException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { dispose(); } uno::Reference< io::XInputStream > SAL_CALL OInputCompStream::getInputStream() - throw ( uno::RuntimeException ) + throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -221,7 +221,7 @@ uno::Reference< io::XInputStream > SAL_CALL OInputCompStream::getInputStream() } uno::Reference< io::XOutputStream > SAL_CALL OInputCompStream::getOutputStream() - throw ( uno::RuntimeException ) + throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -262,7 +262,7 @@ void OInputCompStream::InternalDispose() } void SAL_CALL OInputCompStream::dispose( ) - throw ( uno::RuntimeException ) + throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -289,7 +289,7 @@ void SAL_CALL OInputCompStream::dispose( ) } void SAL_CALL OInputCompStream::addEventListener( const uno::Reference< lang::XEventListener >& xListener ) - throw ( uno::RuntimeException ) + throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -305,7 +305,7 @@ void SAL_CALL OInputCompStream::addEventListener( const uno::Reference< lang::XE } void SAL_CALL OInputCompStream::removeEventListener( const uno::Reference< lang::XEventListener >& xListener ) - throw ( uno::RuntimeException ) + throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -320,7 +320,7 @@ void SAL_CALL OInputCompStream::removeEventListener( const uno::Reference< lang: sal_Bool SAL_CALL OInputCompStream::hasByID( const OUString& sID ) throw ( io::IOException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -347,7 +347,7 @@ sal_Bool SAL_CALL OInputCompStream::hasByID( const OUString& sID ) OUString SAL_CALL OInputCompStream::getTargetByID( const OUString& sID ) throw ( container::NoSuchElementException, io::IOException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -371,7 +371,7 @@ OUString SAL_CALL OInputCompStream::getTargetByID( const OUString& sID ) OUString SAL_CALL OInputCompStream::getTypeByID( const OUString& sID ) throw ( container::NoSuchElementException, io::IOException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -395,7 +395,7 @@ OUString SAL_CALL OInputCompStream::getTypeByID( const OUString& sID ) uno::Sequence< beans::StringPair > SAL_CALL OInputCompStream::getRelationshipByID( const OUString& sID ) throw ( container::NoSuchElementException, io::IOException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -424,7 +424,7 @@ uno::Sequence< beans::StringPair > SAL_CALL OInputCompStream::getRelationshipByI uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OInputCompStream::getRelationshipsByType( const OUString& sType ) throw ( io::IOException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -458,7 +458,7 @@ uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OInputCompStream::g } uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OInputCompStream::getAllRelationships() - throw (io::IOException, uno::RuntimeException) + throw (io::IOException, uno::RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -488,7 +488,7 @@ uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OInputCompStream::g void SAL_CALL OInputCompStream::insertRelationshipByID( const OUString& /*sID*/, const uno::Sequence< beans::StringPair >& /*aEntry*/, ::sal_Bool /*bReplace*/ ) throw ( container::ElementExistException, io::IOException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -507,7 +507,7 @@ void SAL_CALL OInputCompStream::insertRelationshipByID( const OUString& /*sID*/ void SAL_CALL OInputCompStream::removeRelationshipByID( const OUString& /*sID*/ ) throw ( container::NoSuchElementException, io::IOException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -526,7 +526,7 @@ void SAL_CALL OInputCompStream::removeRelationshipByID( const OUString& /*sID*/ void SAL_CALL OInputCompStream::insertRelationships( const uno::Sequence< uno::Sequence< beans::StringPair > >& /*aEntries*/, ::sal_Bool /*bReplace*/ ) throw ( container::ElementExistException, io::IOException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -544,7 +544,7 @@ void SAL_CALL OInputCompStream::insertRelationships( const uno::Sequence< uno:: void SAL_CALL OInputCompStream::clearRelationships() throw ( io::IOException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -561,7 +561,7 @@ void SAL_CALL OInputCompStream::clearRelationships() } uno::Reference< beans::XPropertySetInfo > SAL_CALL OInputCompStream::getPropertySetInfo() - throw ( uno::RuntimeException ) + throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -580,7 +580,7 @@ void SAL_CALL OInputCompStream::setPropertyValue( const OUString& aPropertyName, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -605,7 +605,7 @@ void SAL_CALL OInputCompStream::setPropertyValue( const OUString& aPropertyName, uno::Any SAL_CALL OInputCompStream::getPropertyValue( const OUString& aProp ) throw ( beans::UnknownPropertyException, lang::WrappedTargetException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -641,7 +641,7 @@ void SAL_CALL OInputCompStream::addPropertyChangeListener( const uno::Reference< beans::XPropertyChangeListener >& /*xListener*/ ) throw ( beans::UnknownPropertyException, lang::WrappedTargetException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -659,7 +659,7 @@ void SAL_CALL OInputCompStream::removePropertyChangeListener( const uno::Reference< beans::XPropertyChangeListener >& /*aListener*/ ) throw ( beans::UnknownPropertyException, lang::WrappedTargetException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -677,7 +677,7 @@ void SAL_CALL OInputCompStream::addVetoableChangeListener( const uno::Reference< beans::XVetoableChangeListener >& /*aListener*/ ) throw ( beans::UnknownPropertyException, lang::WrappedTargetException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -695,7 +695,7 @@ void SAL_CALL OInputCompStream::removeVetoableChangeListener( const uno::Reference< beans::XVetoableChangeListener >& /*aListener*/ ) throw ( beans::UnknownPropertyException, lang::WrappedTargetException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); |