summaryrefslogtreecommitdiff
path: root/include/cppuhelper/propshlp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/cppuhelper/propshlp.hxx')
-rw-r--r--include/cppuhelper/propshlp.hxx66
1 files changed, 21 insertions, 45 deletions
diff --git a/include/cppuhelper/propshlp.hxx b/include/cppuhelper/propshlp.hxx
index ecba58c6db34..2befe21adbc5 100644
--- a/include/cppuhelper/propshlp.hxx
+++ b/include/cppuhelper/propshlp.hxx
@@ -84,8 +84,7 @@ public:
@exception UnknownPropertyException thrown if the property name is unknown.
*/
virtual css::beans::Property SAL_CALL getPropertyByName(
- const ::rtl::OUString& rPropertyName )
- throw (css::beans::UnknownPropertyException) = 0;
+ const ::rtl::OUString& rPropertyName ) = 0;
/**
Return true if the property with the name rPropertyName exist, otherwise false.
@param rPropertyName the name of the property.
@@ -164,8 +163,7 @@ public:
@exception UnknownPropertyException thrown if the property name is unknown.
*/
virtual css::beans::Property SAL_CALL getPropertyByName(
- const ::rtl::OUString& rPropertyName )
- throw (css::beans::UnknownPropertyException) SAL_OVERRIDE;
+ const ::rtl::OUString& rPropertyName ) SAL_OVERRIDE;
/**
Return true if the property with the name rPropertyName exist, otherwise false.
@param rPropertyName the name of the property.
@@ -424,15 +422,13 @@ public:
Only returns a reference to XMultiPropertySet, XFastPropertySet, XPropertySet and
XEventListener.
*/
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType )
- throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) SAL_OVERRIDE;
/** eases implementing XTypeProvider::getTypes, returns the types of XMultiPropertySet, XFastPropertySet, XPropertySet
@throws css::uno::RuntimeException
*/
- css::uno::Sequence< css::uno::Type > getTypes()
- throw(css::uno::RuntimeException);
+ css::uno::Sequence< css::uno::Type > getTypes();
/**
Send a disposing notification to the listeners in the containers aBoundLC
@@ -447,37 +443,31 @@ public:
rPropertyName does not exist or is readonly. Otherwise rPropertyName is changed to its handle
value and setFastPropertyValue is called.
*/
- virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& rPropertyName, const css::uno::Any& aValue )
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& rPropertyName, const css::uno::Any& aValue ) SAL_OVERRIDE;
/**
Throw UnknownPropertyException if the property with the name
rPropertyName does not exist.
*/
- virtual css::uno::Any SAL_CALL getPropertyValue(const ::rtl::OUString& aPropertyName)
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL getPropertyValue(const ::rtl::OUString& aPropertyName) SAL_OVERRIDE;
/** Ignored if the property is not bound. */
virtual void SAL_CALL addPropertyChangeListener(
const ::rtl::OUString& aPropertyName,
- const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener)
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener) SAL_OVERRIDE;
/** Ignored if the property is not bound. */
virtual void SAL_CALL removePropertyChangeListener(
const ::rtl::OUString& aPropertyName,
- const css::uno::Reference < css::beans::XPropertyChangeListener >& aListener)
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ const css::uno::Reference < css::beans::XPropertyChangeListener >& aListener) SAL_OVERRIDE;
/** Ignored if the property is not constrained. */
virtual void SAL_CALL addVetoableChangeListener(
const ::rtl::OUString& aPropertyName,
- const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener)
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener) SAL_OVERRIDE;
/** Ignored if the property is not constrained. */
virtual void SAL_CALL removeVetoableChangeListener(
const ::rtl::OUString& aPropertyName,
- const css::uno::Reference< css::beans::XVetoableChangeListener > & aListener )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ const css::uno::Reference< css::beans::XVetoableChangeListener > & aListener ) SAL_OVERRIDE;
/**
Throw UnknownPropertyException or PropertyVetoException if the property with the name
@@ -486,39 +476,32 @@ public:
is changed with the setFastPropertyValue_NoBroadcast method and the bound listeners are
notified.
*/
- virtual void SAL_CALL setFastPropertyValue( sal_Int32 nHandle, const css::uno::Any& rValue )
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL setFastPropertyValue( sal_Int32 nHandle, const css::uno::Any& rValue ) SAL_OVERRIDE;
/**
@exception css::beans::UnknownPropertyException
if the property with the handle nHandle does not exist.
*/
- virtual css::uno::Any SAL_CALL getFastPropertyValue( sal_Int32 nHandle )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL getFastPropertyValue( sal_Int32 nHandle ) SAL_OVERRIDE;
// XMultiPropertySet
virtual void SAL_CALL setPropertyValues(
const css::uno::Sequence< ::rtl::OUString >& PropertyNames,
- const css::uno::Sequence< css::uno::Any >& Values )
- throw(css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ const css::uno::Sequence< css::uno::Any >& Values ) SAL_OVERRIDE;
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues(
- const css::uno::Sequence< ::rtl::OUString >& PropertyNames )
- throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ const css::uno::Sequence< ::rtl::OUString >& PropertyNames ) SAL_OVERRIDE;
virtual void SAL_CALL addPropertiesChangeListener(
const css::uno::Sequence< ::rtl::OUString >& PropertyNames,
- const css::uno::Reference< css::beans::XPropertiesChangeListener >& Listener )
- throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ const css::uno::Reference< css::beans::XPropertiesChangeListener >& Listener ) SAL_OVERRIDE;
virtual void SAL_CALL removePropertiesChangeListener(
- const css::uno::Reference< css::beans::XPropertiesChangeListener >& Listener )
- throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ const css::uno::Reference< css::beans::XPropertiesChangeListener >& Listener ) SAL_OVERRIDE;
virtual void SAL_CALL firePropertiesChangeEvent(
const css::uno::Sequence< ::rtl::OUString >& PropertyNames,
- const css::uno::Reference< css::beans::XPropertiesChangeListener > & Listener )
- throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ const css::uno::Reference< css::beans::XPropertiesChangeListener > & Listener ) SAL_OVERRIDE;
/**
The property sequence is created in the call. The interface isn't used after the call.
@@ -582,10 +565,7 @@ protected:
css::uno::Any & rConvertedValue,
css::uno::Any & rOldValue,
sal_Int32 nHandle,
- const css::uno::Any& rValue )
- throw (css::lang::IllegalArgumentException,
- css::beans::UnknownPropertyException,
- css::uno::RuntimeException, std::exception) = 0;
+ const css::uno::Any& rValue ) = 0;
/** The same as setFastProperyValue; nHandle is always valid.
The changes must not be broadcasted in this method.
@@ -608,9 +588,7 @@ protected:
*/
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(
sal_Int32 nHandle,
- const css::uno::Any& rValue )
- throw (css::uno::Exception,
- std::exception) = 0;
+ const css::uno::Any& rValue ) = 0;
/**
The same as getFastProperyValue, but return the value through rValue and nHandle
is always valid.
@@ -722,12 +700,10 @@ public:
bool bIgnoreRuntimeExceptionsWhileFiring = false);
// XInterface
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType )
- throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) SAL_OVERRIDE;
// XPropertySetOption
- virtual void SAL_CALL enableChangeListenerNotification( sal_Bool bEnable )
- throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL enableChangeListenerNotification( sal_Bool bEnable ) SAL_OVERRIDE;
private: