diff options
Diffstat (limited to 'ucb/source/ucp/webdav/DAVResourceAccess.hxx')
-rw-r--r-- | ucb/source/ucp/webdav/DAVResourceAccess.hxx | 69 |
1 files changed, 23 insertions, 46 deletions
diff --git a/ucb/source/ucp/webdav/DAVResourceAccess.hxx b/ucb/source/ucp/webdav/DAVResourceAccess.hxx index 1327a0b40c68..44f7f393d0f7 100644 --- a/ucb/source/ucp/webdav/DAVResourceAccess.hxx +++ b/ucb/source/ucp/webdav/DAVResourceAccess.hxx @@ -62,8 +62,7 @@ public: DAVResourceAccess & operator=( const DAVResourceAccess & rOther ); /// @throws DAVException - void setURL( const OUString & rNewURL ) - throw ( DAVException ); + void setURL( const OUString & rNewURL ); void resetUri(); @@ -81,77 +80,66 @@ public: PROPFIND( const Depth nDepth, const std::vector< OUString > & rPropertyNames, std::vector< DAVResource > & rResources, - const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw ( DAVException ); + const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); // propnames /// @throws DAVException void PROPFIND( const Depth nDepth, std::vector< DAVResourceInfo > & rResInfo, - const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw ( DAVException ); + const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); /// @throws DAVException void PROPPATCH( const std::vector< ProppatchValue > & rValues, - const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv ) - throw ( DAVException ); + const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv ); /// @throws DAVException void HEAD( const std::vector< OUString > & rHeaderNames, // empty == 'all' DAVResource & rResource, - const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv ) - throw ( DAVException ); + const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv ); /// @throws DAVException css::uno::Reference< css::io::XInputStream > - GET( const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw ( DAVException ); + GET( const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); /// @throws DAVException void GET( css::uno::Reference< css::io::XOutputStream > & rStream, - const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw ( DAVException ); + const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); /// @throws DAVException css::uno::Reference< css::io::XInputStream > GET( const std::vector< OUString > & rHeaderNames, // empty == 'all' DAVResource & rResource, - const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw ( DAVException ); + const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); /// @throws DAVException css::uno::Reference< css::io::XInputStream > GET( DAVRequestHeaders & rRequestHeaders, const std::vector< rtl::OUString > & rHeaderNames, // empty == 'all' DAVResource & rResource, - const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw ( DAVException ); + const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); /// @throws DAVException void GET( css::uno::Reference< css::io::XOutputStream > & rStream, const std::vector< OUString > & rHeaderNames, // empty == 'all' DAVResource & rResource, - const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw ( DAVException ); + const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); /// @throws DAVException void PUT( const css::uno::Reference< css::io::XInputStream > & rStream, - const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw ( DAVException ); + const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); /// @throws DAVException css::uno::Reference< css::io::XInputStream > POST( const OUString & rContentType, const OUString & rReferer, const css::uno::Reference< css::io::XInputStream > & rInputStream, - const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv ) - throw ( DAVException ); + const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv ); /// @throws DAVException void @@ -159,41 +147,35 @@ public: const OUString & rReferer, const css::uno::Reference< css::io::XInputStream > & rInputStream, css::uno::Reference< css::io::XOutputStream > & rOutputStream, - const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv ) - throw ( DAVException ); + const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv ); /// @throws DAVException void - MKCOL( const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw ( DAVException ); + MKCOL( const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); /// @throws DAVException void COPY( const OUString & rSourcePath, const OUString & rDestinationURI, bool bOverwrite, - const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw ( DAVException ); + const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); /// @throws DAVException void MOVE( const OUString & rSourcePath, const OUString & rDestinationURI, bool bOverwrite, - const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw ( DAVException ); + const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); /// @throws DAVException void - DESTROY( const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw ( DAVException ); + DESTROY( const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); // set new lock. /// @throws DAVException void LOCK( css::ucb::Lock & inLock, - const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw( DAVException ); + const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); #if 0 // currently not used, but please don't remove code // refresh existing lock. @@ -205,13 +187,11 @@ public: /// @throws DAVException void - UNLOCK( const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ) - throw ( DAVException ); + UNLOCK( const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); /// @throws DAVException void - static abort() - throw ( DAVException ); + static abort(); // helper static void @@ -224,14 +204,11 @@ public: private: const OUString & getRequestURI() const; /// @throws DAVException - bool detectRedirectCycle( const OUString& rRedirectURL ) - throw ( DAVException ); + bool detectRedirectCycle( const OUString& rRedirectURL ); /// @throws DAVException - bool handleException( DAVException & e, int errorCount ) - throw ( DAVException ); + bool handleException( DAVException & e, int errorCount ); /// @throws DAVException - void initialize() - throw ( DAVException ); + void initialize(); }; } // namespace http_dav_ucp |