diff options
Diffstat (limited to 'ucb/source/cacher/contentresultsetwrapper.cxx')
-rw-r--r-- | ucb/source/cacher/contentresultsetwrapper.cxx | 120 |
1 files changed, 0 insertions, 120 deletions
diff --git a/ucb/source/cacher/contentresultsetwrapper.cxx b/ucb/source/cacher/contentresultsetwrapper.cxx index f336f607dd04..06a7b1f8a129 100644 --- a/ucb/source/cacher/contentresultsetwrapper.cxx +++ b/ucb/source/cacher/contentresultsetwrapper.cxx @@ -168,7 +168,6 @@ void SAL_CALL ContentResultSetWrapper::impl_initPropertySetInfo() } void SAL_CALL ContentResultSetWrapper::impl_EnsureNotDisposed() - throw( DisposedException, RuntimeException ) { osl::Guard< osl::Mutex > aGuard( m_aMutex ); if( m_bDisposed ) @@ -230,8 +229,6 @@ void SAL_CALL ContentResultSetWrapper::impl_notifyPropertyChangeListeners( const } void SAL_CALL ContentResultSetWrapper::impl_notifyVetoableChangeListeners( const PropertyChangeEvent& rEvt ) - throw( PropertyVetoException, - RuntimeException ) { { osl::Guard< osl::Mutex > aGuard( m_aMutex ); @@ -324,7 +321,6 @@ bool SAL_CALL ContentResultSetWrapper::impl_isForwardOnly() // XInterface methods. css::uno::Any SAL_CALL ContentResultSetWrapper::queryInterface( const css::uno::Type & rType ) - throw( css::uno::RuntimeException, std::exception ) { //list all interfaces inclusive baseclasses of interfaces css::uno::Any aRet = cppu::queryInterface( rType, @@ -343,7 +339,6 @@ css::uno::Any SAL_CALL ContentResultSetWrapper::queryInterface( const css::uno:: // virtual void SAL_CALL ContentResultSetWrapper::dispose() - throw( RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -437,7 +432,6 @@ void SAL_CALL ContentResultSetWrapper::dispose() // virtual void SAL_CALL ContentResultSetWrapper::addEventListener( const Reference< XEventListener >& Listener ) - throw( RuntimeException, std::exception ) { impl_EnsureNotDisposed(); osl::Guard< osl::Mutex > aGuard( m_aMutex ); @@ -452,7 +446,6 @@ void SAL_CALL ContentResultSetWrapper::addEventListener( const Reference< XEvent // virtual void SAL_CALL ContentResultSetWrapper::removeEventListener( const Reference< XEventListener >& Listener ) - throw( RuntimeException, std::exception ) { impl_EnsureNotDisposed(); osl::Guard< osl::Mutex > aGuard( m_aMutex ); @@ -466,8 +459,6 @@ void SAL_CALL ContentResultSetWrapper::removeEventListener( const Reference< XEv //virtual void SAL_CALL ContentResultSetWrapper::close() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); dispose(); @@ -478,8 +469,6 @@ void SAL_CALL ContentResultSetWrapper::close() //virtual Reference< XResultSetMetaData > SAL_CALL ContentResultSetWrapper::getMetaData() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -508,7 +497,6 @@ Reference< XResultSetMetaData > SAL_CALL ContentResultSetWrapper::getMetaData() // virtual Reference< XPropertySetInfo > SAL_CALL ContentResultSetWrapper::getPropertySetInfo() - throw( RuntimeException, std::exception ) { impl_EnsureNotDisposed(); { @@ -522,11 +510,6 @@ Reference< XPropertySetInfo > SAL_CALL ContentResultSetWrapper::getPropertySetIn // virtual void SAL_CALL ContentResultSetWrapper::setPropertyValue( const OUString& rPropertyName, const Any& rValue ) - throw( UnknownPropertyException, - PropertyVetoException, - IllegalArgumentException, - WrappedTargetException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); impl_init_xPropertySetOrigin(); @@ -541,9 +524,6 @@ void SAL_CALL ContentResultSetWrapper::setPropertyValue( const OUString& rProper // virtual Any SAL_CALL ContentResultSetWrapper::getPropertyValue( const OUString& rPropertyName ) - throw( UnknownPropertyException, - WrappedTargetException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); impl_init_xPropertySetOrigin(); @@ -558,9 +538,6 @@ Any SAL_CALL ContentResultSetWrapper::getPropertyValue( const OUString& rPropert // virtual void SAL_CALL ContentResultSetWrapper::addPropertyChangeListener( const OUString& aPropertyName, const Reference< XPropertyChangeListener >& xListener ) - throw( UnknownPropertyException, - WrappedTargetException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -607,9 +584,6 @@ void SAL_CALL ContentResultSetWrapper::addPropertyChangeListener( const OUString // virtual void SAL_CALL ContentResultSetWrapper::addVetoableChangeListener( const OUString& rPropertyName, const Reference< XVetoableChangeListener >& xListener ) - throw( UnknownPropertyException, - WrappedTargetException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -655,9 +629,6 @@ void SAL_CALL ContentResultSetWrapper::addVetoableChangeListener( const OUString // virtual void SAL_CALL ContentResultSetWrapper::removePropertyChangeListener( const OUString& rPropertyName, const Reference< XPropertyChangeListener >& xListener ) - throw( UnknownPropertyException, - WrappedTargetException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -711,9 +682,6 @@ void SAL_CALL ContentResultSetWrapper::removePropertyChangeListener( const OUStr // virtual void SAL_CALL ContentResultSetWrapper::removeVetoableChangeListener( const OUString& rPropertyName, const Reference< XVetoableChangeListener >& xListener ) - throw( UnknownPropertyException, - WrappedTargetException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -770,7 +738,6 @@ void SAL_CALL ContentResultSetWrapper::removeVetoableChangeListener( const OUStr //virtual void SAL_CALL ContentResultSetWrapper::impl_disposing( const EventObject& ) - throw( RuntimeException ) { impl_EnsureNotDisposed(); @@ -794,7 +761,6 @@ void SAL_CALL ContentResultSetWrapper::impl_disposing( const EventObject& ) //virtual void SAL_CALL ContentResultSetWrapper::impl_propertyChange( const PropertyChangeEvent& rEvt ) - throw( RuntimeException ) { impl_EnsureNotDisposed(); @@ -806,8 +772,6 @@ void SAL_CALL ContentResultSetWrapper::impl_propertyChange( const PropertyChange //virtual void SAL_CALL ContentResultSetWrapper::impl_vetoableChange( const PropertyChangeEvent& rEvt ) - throw( PropertyVetoException, - RuntimeException ) { impl_EnsureNotDisposed(); @@ -824,7 +788,6 @@ void SAL_CALL ContentResultSetWrapper::impl_vetoableChange( const PropertyChange // virtual OUString SAL_CALL ContentResultSetWrapper::queryContentIdentifierString() - throw( RuntimeException, std::exception ) { impl_EnsureNotDisposed(); impl_init_xContentAccessOrigin(); @@ -839,7 +802,6 @@ OUString SAL_CALL ContentResultSetWrapper::queryContentIdentifierString() // virtual Reference< XContentIdentifier > SAL_CALL ContentResultSetWrapper::queryContentIdentifier() - throw( RuntimeException, std::exception ) { impl_EnsureNotDisposed(); impl_init_xContentAccessOrigin(); @@ -854,7 +816,6 @@ Reference< XContentIdentifier > SAL_CALL ContentResultSetWrapper::queryContentId // virtual Reference< XContent > SAL_CALL ContentResultSetWrapper::queryContent() - throw( RuntimeException, std::exception ) { impl_EnsureNotDisposed(); impl_init_xContentAccessOrigin(); @@ -872,8 +833,6 @@ Reference< XContent > SAL_CALL ContentResultSetWrapper::queryContent() //virtual sal_Bool SAL_CALL ContentResultSetWrapper::next() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -887,8 +846,6 @@ sal_Bool SAL_CALL ContentResultSetWrapper::next() //virtual sal_Bool SAL_CALL ContentResultSetWrapper::previous() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -902,8 +859,6 @@ sal_Bool SAL_CALL ContentResultSetWrapper::previous() //virtual sal_Bool SAL_CALL ContentResultSetWrapper::absolute( sal_Int32 row ) - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -917,8 +872,6 @@ sal_Bool SAL_CALL ContentResultSetWrapper::absolute( sal_Int32 row ) //virtual sal_Bool SAL_CALL ContentResultSetWrapper::relative( sal_Int32 rows ) - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -933,8 +886,6 @@ sal_Bool SAL_CALL ContentResultSetWrapper::relative( sal_Int32 rows ) //virtual sal_Bool SAL_CALL ContentResultSetWrapper::first() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -948,8 +899,6 @@ sal_Bool SAL_CALL ContentResultSetWrapper::first() //virtual sal_Bool SAL_CALL ContentResultSetWrapper::last() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -963,8 +912,6 @@ sal_Bool SAL_CALL ContentResultSetWrapper::last() //virtual void SAL_CALL ContentResultSetWrapper::beforeFirst() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -978,8 +925,6 @@ void SAL_CALL ContentResultSetWrapper::beforeFirst() //virtual void SAL_CALL ContentResultSetWrapper::afterLast() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -993,8 +938,6 @@ void SAL_CALL ContentResultSetWrapper::afterLast() //virtual sal_Bool SAL_CALL ContentResultSetWrapper::isAfterLast() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -1008,8 +951,6 @@ sal_Bool SAL_CALL ContentResultSetWrapper::isAfterLast() //virtual sal_Bool SAL_CALL ContentResultSetWrapper::isBeforeFirst() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -1023,8 +964,6 @@ sal_Bool SAL_CALL ContentResultSetWrapper::isBeforeFirst() //virtual sal_Bool SAL_CALL ContentResultSetWrapper::isFirst() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -1038,8 +977,6 @@ sal_Bool SAL_CALL ContentResultSetWrapper::isFirst() //virtual sal_Bool SAL_CALL ContentResultSetWrapper::isLast() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -1054,8 +991,6 @@ sal_Bool SAL_CALL ContentResultSetWrapper::isLast() //virtual sal_Int32 SAL_CALL ContentResultSetWrapper::getRow() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -1069,8 +1004,6 @@ sal_Int32 SAL_CALL ContentResultSetWrapper::getRow() //virtual void SAL_CALL ContentResultSetWrapper::refreshRow() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -1084,8 +1017,6 @@ void SAL_CALL ContentResultSetWrapper::refreshRow() //virtual sal_Bool SAL_CALL ContentResultSetWrapper::rowUpdated() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -1099,8 +1030,6 @@ sal_Bool SAL_CALL ContentResultSetWrapper::rowUpdated() //virtual sal_Bool SAL_CALL ContentResultSetWrapper::rowInserted() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -1114,8 +1043,6 @@ sal_Bool SAL_CALL ContentResultSetWrapper::rowInserted() //virtual sal_Bool SAL_CALL ContentResultSetWrapper::rowDeleted() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); @@ -1129,8 +1056,6 @@ sal_Bool SAL_CALL ContentResultSetWrapper::rowDeleted() //virtual Reference< XInterface > SAL_CALL ContentResultSetWrapper::getStatement() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); //@todo ?return anything @@ -1153,8 +1078,6 @@ return m_xRowOrigin->getXXX( columnIndex ); //virtual sal_Bool SAL_CALL ContentResultSetWrapper::wasNull() - throw( SQLException, - RuntimeException, std::exception ) { impl_EnsureNotDisposed(); impl_init_xRowOrigin(); @@ -1168,120 +1091,90 @@ sal_Bool SAL_CALL ContentResultSetWrapper::wasNull() //virtual OUString SAL_CALL ContentResultSetWrapper::getString( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getString ); } //virtual sal_Bool SAL_CALL ContentResultSetWrapper::getBoolean( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getBoolean ); } //virtual sal_Int8 SAL_CALL ContentResultSetWrapper::getByte( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getByte ); } //virtual sal_Int16 SAL_CALL ContentResultSetWrapper::getShort( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getShort ); } //virtual sal_Int32 SAL_CALL ContentResultSetWrapper::getInt( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getInt ); } //virtual sal_Int64 SAL_CALL ContentResultSetWrapper::getLong( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getLong ); } //virtual float SAL_CALL ContentResultSetWrapper::getFloat( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getFloat ); } //virtual double SAL_CALL ContentResultSetWrapper::getDouble( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getDouble ); } //virtual Sequence< sal_Int8 > SAL_CALL ContentResultSetWrapper::getBytes( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getBytes ); } //virtual Date SAL_CALL ContentResultSetWrapper::getDate( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getDate ); } //virtual Time SAL_CALL ContentResultSetWrapper::getTime( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getTime ); } //virtual DateTime SAL_CALL ContentResultSetWrapper::getTimestamp( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getTimestamp ); } //virtual Reference< css::io::XInputStream > SAL_CALL ContentResultSetWrapper::getBinaryStream( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getBinaryStream ); } //virtual Reference< css::io::XInputStream > SAL_CALL ContentResultSetWrapper::getCharacterStream( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getCharacterStream ); } //virtual Any SAL_CALL ContentResultSetWrapper::getObject( sal_Int32 columnIndex, const Reference< css::container::XNameAccess >& typeMap ) - throw( SQLException, - RuntimeException, std::exception ) { //if you change this macro please pay attention to //define XROW_GETXXX, where this is similar implemented @@ -1298,32 +1191,24 @@ Any SAL_CALL ContentResultSetWrapper::getObject( sal_Int32 columnIndex, const Re //virtual Reference< XRef > SAL_CALL ContentResultSetWrapper::getRef( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getRef ); } //virtual Reference< XBlob > SAL_CALL ContentResultSetWrapper::getBlob( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getBlob ); } //virtual Reference< XClob > SAL_CALL ContentResultSetWrapper::getClob( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getClob ); } //virtual Reference< XArray > SAL_CALL ContentResultSetWrapper::getArray( sal_Int32 columnIndex ) - throw( SQLException, - RuntimeException, std::exception ) { XROW_GETXXX( getArray ); } @@ -1357,7 +1242,6 @@ void SAL_CALL ContentResultSetWrapperListener::release() } css::uno::Any SAL_CALL ContentResultSetWrapperListener::queryInterface( const css::uno::Type & rType ) - throw( css::uno::RuntimeException, std::exception ) { //list all interfaces inclusive baseclasses of interfaces css::uno::Any aRet = cppu::queryInterface( rType, @@ -1374,7 +1258,6 @@ css::uno::Any SAL_CALL ContentResultSetWrapperListener::queryInterface( const cs //virtual void SAL_CALL ContentResultSetWrapperListener::disposing( const EventObject& rEventObject ) - throw( RuntimeException, std::exception ) { if( m_pOwner ) m_pOwner->impl_disposing( rEventObject ); @@ -1386,7 +1269,6 @@ void SAL_CALL ContentResultSetWrapperListener::disposing( const EventObject& rEv //virtual void SAL_CALL ContentResultSetWrapperListener::propertyChange( const PropertyChangeEvent& rEvt ) - throw( RuntimeException, std::exception ) { if( m_pOwner ) m_pOwner->impl_propertyChange( rEvt ); @@ -1397,8 +1279,6 @@ void SAL_CALL ContentResultSetWrapperListener::propertyChange( const PropertyCha //virtual void SAL_CALL ContentResultSetWrapperListener::vetoableChange( const PropertyChangeEvent& rEvt ) - throw( PropertyVetoException, - RuntimeException, std::exception ) { if( m_pOwner ) m_pOwner->impl_vetoableChange( rEvt ); |