remove boilerplate in UNO Exception constructor calls
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
This commit is contained in:
@@ -471,18 +471,18 @@ public:
|
||||
|
||||
virtual void SAL_CALL insertByName( const OUString&, const Any& ) throw (lang::IllegalArgumentException, container::ElementExistException, lang::WrappedTargetException, RuntimeException, std::exception) SAL_OVERRIDE
|
||||
{
|
||||
throw RuntimeException("ReadOnly container", Reference< XInterface >() );
|
||||
throw RuntimeException("ReadOnly container" );
|
||||
|
||||
}
|
||||
virtual void SAL_CALL removeByName( const OUString& ) throw (::com::sun::star::container::NoSuchElementException, lang::WrappedTargetException, RuntimeException, std::exception) SAL_OVERRIDE
|
||||
{
|
||||
throw RuntimeException("ReadOnly container", Reference< XInterface >() );
|
||||
throw RuntimeException("ReadOnly container" );
|
||||
}
|
||||
|
||||
// XNameReplace
|
||||
virtual void SAL_CALL replaceByName( const OUString&, const Any& ) throw (lang::IllegalArgumentException, container::NoSuchElementException, lang::WrappedTargetException, RuntimeException, std::exception) SAL_OVERRIDE
|
||||
{
|
||||
throw RuntimeException("ReadOnly container", Reference< XInterface >() );
|
||||
throw RuntimeException("ReadOnly container" );
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user