diff options
Diffstat (limited to 'connectivity/source/sdbcx/VGroup.cxx')
-rw-r--r-- | connectivity/source/sdbcx/VGroup.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/connectivity/source/sdbcx/VGroup.cxx b/connectivity/source/sdbcx/VGroup.cxx index e1f9ea34e20d..01059f70f023 100644 --- a/connectivity/source/sdbcx/VGroup.cxx +++ b/connectivity/source/sdbcx/VGroup.cxx @@ -54,13 +54,13 @@ OGroup::~OGroup() { } -Any SAL_CALL OGroup::queryInterface( const Type & rType ) throw(RuntimeException, std::exception) +Any SAL_CALL OGroup::queryInterface( const Type & rType ) { Any aRet = ODescriptor::queryInterface( rType); return aRet.hasValue() ? aRet : OGroup_BASE::queryInterface( rType); } -Sequence< Type > SAL_CALL OGroup::getTypes( ) throw(RuntimeException, std::exception) +Sequence< Type > SAL_CALL OGroup::getTypes( ) { return ::comphelper::concatSequences(ODescriptor::getTypes(),OGroup_BASE::getTypes()); } @@ -87,7 +87,7 @@ void OGroup::disposing() return *getArrayHelper(); } -Reference< XNameAccess > SAL_CALL OGroup::getUsers( ) throw(RuntimeException, std::exception) +Reference< XNameAccess > SAL_CALL OGroup::getUsers( ) { ::osl::MutexGuard aGuard(m_aMutex); checkDisposed(OGroup_BASE::rBHelper.bDisposed); @@ -111,7 +111,7 @@ Reference< XNameAccess > SAL_CALL OGroup::getUsers( ) throw(RuntimeException, s } -sal_Int32 SAL_CALL OGroup::getPrivileges( const OUString& /*objName*/, sal_Int32 /*objType*/ ) throw(css::sdbc::SQLException, RuntimeException, std::exception) +sal_Int32 SAL_CALL OGroup::getPrivileges( const OUString& /*objName*/, sal_Int32 /*objType*/ ) { ::osl::MutexGuard aGuard(m_aMutex); checkDisposed(OGroup_BASE::rBHelper.bDisposed); @@ -119,7 +119,7 @@ sal_Int32 SAL_CALL OGroup::getPrivileges( const OUString& /*objName*/, sal_Int32 return 0; } -sal_Int32 SAL_CALL OGroup::getGrantablePrivileges( const OUString& /*objName*/, sal_Int32 /*objType*/ ) throw(css::sdbc::SQLException, RuntimeException, std::exception) +sal_Int32 SAL_CALL OGroup::getGrantablePrivileges( const OUString& /*objName*/, sal_Int32 /*objType*/ ) { ::osl::MutexGuard aGuard(m_aMutex); checkDisposed(OGroup_BASE::rBHelper.bDisposed); @@ -127,31 +127,31 @@ sal_Int32 SAL_CALL OGroup::getGrantablePrivileges( const OUString& /*objName*/, return 0; } -void SAL_CALL OGroup::grantPrivileges( const OUString& /*objName*/, sal_Int32 /*objType*/, sal_Int32 /*objPrivileges*/ ) throw(css::sdbc::SQLException, RuntimeException, std::exception) +void SAL_CALL OGroup::grantPrivileges( const OUString& /*objName*/, sal_Int32 /*objType*/, sal_Int32 /*objPrivileges*/ ) { ::osl::MutexGuard aGuard(m_aMutex); checkDisposed(OGroup_BASE::rBHelper.bDisposed); throwFeatureNotImplementedSQLException( "XAuthorizable::grantPrivileges", *this ); } -void SAL_CALL OGroup::revokePrivileges( const OUString& /*objName*/, sal_Int32 /*objType*/, sal_Int32 /*objPrivileges*/ ) throw(css::sdbc::SQLException, RuntimeException, std::exception) +void SAL_CALL OGroup::revokePrivileges( const OUString& /*objName*/, sal_Int32 /*objType*/, sal_Int32 /*objPrivileges*/ ) { ::osl::MutexGuard aGuard(m_aMutex); checkDisposed(OGroup_BASE::rBHelper.bDisposed); throwFeatureNotImplementedSQLException( "XAuthorizable::revokePrivileges", *this ); } -css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL OGroup::getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL OGroup::getPropertySetInfo( ) { return ::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper()); } -OUString SAL_CALL OGroup::getName( ) throw(css::uno::RuntimeException, std::exception) +OUString SAL_CALL OGroup::getName( ) { return m_Name; } -void SAL_CALL OGroup::setName( const OUString& /*aName*/ ) throw(css::uno::RuntimeException, std::exception) +void SAL_CALL OGroup::setName( const OUString& /*aName*/ ) { throwFeatureNotImplementedRuntimeException( "XNamed::setName", *this ); } |