summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav/webdavcontent.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav/webdavcontent.hxx')
-rw-r--r--ucb/source/ucp/webdav/webdavcontent.hxx99
1 files changed, 29 insertions, 70 deletions
diff --git a/ucb/source/ucp/webdav/webdavcontent.hxx b/ucb/source/ucp/webdav/webdavcontent.hxx
index 57341fcab0ea..8eefba6f2f32 100644
--- a/ucb/source/ucp/webdav/webdavcontent.hxx
+++ b/ucb/source/ucp/webdav/webdavcontent.hxx
@@ -91,20 +91,17 @@ private:
virtual OUString getParentURL() override;
/// @throws css::uno::Exception
- bool isFolder( const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv )
- throw ( css::uno::Exception );
+ bool isFolder( const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv );
/// @throws css::uno::Exception
css::uno::Reference< css::sdbc::XRow >
getPropertyValues( const css::uno::Sequence< css::beans::Property >& rProperties,
- const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv )
- throw ( css::uno::Exception );
+ const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv );
/// @throws css::uno::Exception
css::uno::Sequence< css::uno::Any >
setPropertyValues( const css::uno::Sequence< css::beans::PropertyValue >& rValues,
- const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv )
- throw ( css::uno::Exception );
+ const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv );
typedef rtl::Reference< Content > ContentRef;
typedef std::list< ContentRef > ContentRefList;
@@ -118,57 +115,48 @@ private:
/// @throws css::uno::Exception
ResourceType
- getResourceType( const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv )
- throw ( css::uno::Exception );
+ getResourceType( const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv );
/// @throws css::uno::Exception
ResourceType
getResourceType( const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv,
const std::unique_ptr< DAVResourceAccess > & rResAccess,
- bool * networkAccessAllowed = nullptr )
- throw ( css::uno::Exception );
+ bool * networkAccessAllowed = nullptr );
// Command "open"
/// @throws css::uno::Exception
css::uno::Any open(
const css::ucb::OpenCommandArgument2 & rArg,
const css::uno::Reference<
- css::ucb::XCommandEnvironment > & xEnv )
- throw( css::uno::Exception );
+ css::ucb::XCommandEnvironment > & xEnv );
// Command "post"
/// @throws css::uno::Exception
void post( const css::ucb::PostCommandArgument2 & rArg,
- const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv )
- throw( css::uno::Exception );
+ const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv );
// Command "insert"
/// @throws css::uno::Exception
void insert( const css::uno::Reference< css::io::XInputStream > & xInputStream,
bool bReplaceExisting,
- const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment )
- throw( css::uno::Exception );
+ const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment );
// Command "transfer"
/// @throws css::uno::Exception
void transfer( const css::ucb::TransferInfo & rArgs,
- const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment )
- throw( css::uno::Exception );
+ const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment );
// Command "delete"
/// @throws css::uno::Exception
- void destroy( bool bDeletePhysical )
- throw( css::uno::Exception );
+ void destroy( bool bDeletePhysical );
// Command "lock"
/// @throws css::uno::Exception
- void lock( const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment )
- throw( css::uno::Exception );
+ void lock( const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment );
// Command "unlock"
/// @throws css::uno::Exception
- void unlock( const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment )
- throw( css::uno::Exception );
+ void unlock( const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment );
css::uno::Any MapDAVException( const DAVException & e,
bool bWrite );
@@ -176,8 +164,7 @@ private:
void cancelCommandExecution(
const DAVException & e,
const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv,
- bool bWrite = false )
- throw( css::uno::Exception );
+ bool bWrite = false );
static bool shouldAccessNetworkAfterException( const DAVException & e );
@@ -190,91 +177,65 @@ private:
/// @throws css::lang::IllegalArgumentException
/// @throws css::uno::RuntimeException
void addProperty( const css::ucb::PropertyCommandArgument &aCmdArg,
- const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment )
- throw( css::beans::PropertyExistException,
- css::beans::IllegalTypeException,
- css::lang::IllegalArgumentException,
- css::uno::RuntimeException );
+ const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment );
/// @throws css::beans::PropertyExistException
/// @throws css::beans::NotRemoveableException
/// @throws css::uno::RuntimeException
void removeProperty( const rtl::OUString& Name,
- const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment )
- throw( css::beans::UnknownPropertyException,
- css::beans::NotRemoveableException,
- css::uno::RuntimeException );
+ const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment );
public:
/// @throws css::ucb::ContentCreationException
Content( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
ContentProvider* pProvider,
const css::uno::Reference< css::ucb::XContentIdentifier >& Identifier,
- rtl::Reference< DAVSessionFactory > const & rSessionFactory )
- throw ( css::ucb::ContentCreationException );
+ rtl::Reference< DAVSessionFactory > const & rSessionFactory );
/// @throws css::ucb::ContentCreationException
Content( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
ContentProvider* pProvider,
const css::uno::Reference< css::ucb::XContentIdentifier >& Identifier,
rtl::Reference< DAVSessionFactory > const & rSessionFactory,
- bool isCollection )
- throw ( css::ucb::ContentCreationException );
+ bool isCollection );
virtual ~Content() override;
// XInterface
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType )
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
virtual void SAL_CALL acquire()
throw() override;
virtual void SAL_CALL release()
throw() override;
// XTypeProvider
- virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
- throw( css::uno::RuntimeException, std::exception ) override;
- virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes()
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
+ virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
// XServiceInfo
virtual OUString SAL_CALL
- getImplementationName()
- throw( css::uno::RuntimeException ) override;
+ getImplementationName() override;
virtual css::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames()
- throw( css::uno::RuntimeException ) override;
+ getSupportedServiceNames() override;
// XContent
virtual OUString SAL_CALL
- getContentType()
- throw( css::uno::RuntimeException ) override;
+ getContentType() override;
// XCommandProcessor
virtual css::uno::Any SAL_CALL
execute( const css::ucb::Command& aCommand,
sal_Int32 CommandId,
- const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment )
- throw( css::uno::Exception,
- css::ucb::CommandAbortedException,
- css::uno::RuntimeException ) override;
+ const css::uno::Reference< css::ucb::XCommandEnvironment >& Environment ) override;
virtual void SAL_CALL
- abort( sal_Int32 CommandId )
- throw( css::uno::RuntimeException ) override;
+ abort( sal_Int32 CommandId ) override;
// XPropertyContainer
virtual void SAL_CALL
addProperty( const OUString& Name,
sal_Int16 Attributes,
- const css::uno::Any& DefaultValue )
- throw( css::beans::PropertyExistException,
- css::beans::IllegalTypeException,
- css::lang::IllegalArgumentException,
- css::uno::RuntimeException ) override;
+ const css::uno::Any& DefaultValue ) override;
virtual void SAL_CALL
- removeProperty( const OUString& Name )
- throw( css::beans::UnknownPropertyException,
- css::beans::NotRemoveableException,
- css::uno::RuntimeException ) override;
+ removeProperty( const OUString& Name ) override;
// Additional interfaces
@@ -282,11 +243,9 @@ public:
// XContentCreator
virtual css::uno::Sequence< css::ucb::ContentInfo > SAL_CALL
- queryCreatableContentsInfo()
- throw( css::uno::RuntimeException ) override;
+ queryCreatableContentsInfo() override;
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL
- createNewContent( const css::ucb::ContentInfo& Info )
- throw( css::uno::RuntimeException ) override;
+ createNewContent( const css::ucb::ContentInfo& Info ) override;
// Non-interface methods.