summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2012-11-29 14:47:48 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2012-11-29 21:41:21 +0100
commit8a5fddc656705cf0175c1f5eda98a153a0953b52 (patch)
tree44cfacc865cc5bad3bf96930081a11339f7cbc23 /cppuhelper
parenta3787e3e368d0195511af6a1c04e002bcebeb055 (diff)
Enhance error message when setting a CONSTRAINED property to Vetoed value
Change-Id: I8391c874723bddaabe2fde12f22d9f50a444d3df
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/propertysetmixin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/propertysetmixin.cxx b/cppuhelper/source/propertysetmixin.cxx
index 85a4d80a1d35..babad635a3d9 100644
--- a/cppuhelper/source/propertysetmixin.cxx
+++ b/cppuhelper/source/propertysetmixin.cxx
@@ -625,7 +625,7 @@ void PropertySetMixinImpl::Impl::setProperty(
& css::beans::PropertyAttribute::CONSTRAINED)
!= 0))
{
- throw css::beans::PropertyVetoException(name, object);
+ throw css::beans::PropertyVetoException("Invalid " + name, object);
} else {
throw css::lang::WrappedTargetException(
e.Message, object, e.TargetException);