diff options
-rw-r--r-- | include/svl/itemprop.hxx | 12 | ||||
-rw-r--r-- | svl/source/inc/passwordcontainer.hxx | 13 |
2 files changed, 25 insertions, 0 deletions
diff --git a/include/svl/itemprop.hxx b/include/svl/itemprop.hxx index 2e1d397da9cc..9bc67a7df466 100644 --- a/include/svl/itemprop.hxx +++ b/include/svl/itemprop.hxx @@ -96,6 +96,7 @@ public: const SfxItemPropertySimpleEntry* getByName( const OUString &rName ) const; css::uno::Sequence< css::beans::Property > getProperties() const; + /// @throws css::beans::UnknownPropertyException css::beans::Property getPropertyByName( const OUString & rName ) const throw( css::beans::UnknownPropertyException ); bool hasPropertyByName( const OUString& rName ) const; @@ -116,25 +117,35 @@ public: m_aMap(pMap) {} ~SfxItemPropertySet(); + /// @throws css::uno::RuntimeException void getPropertyValue( const SfxItemPropertySimpleEntry& rEntry, const SfxItemSet& rSet, css::uno::Any& rAny) const throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException + /// @throws css::beans::UnknownPropertyException void getPropertyValue( const OUString &rName, const SfxItemSet& rSet, css::uno::Any& rAny) const throw(css::uno::RuntimeException, css::beans::UnknownPropertyException); + /// @throws css::uno::RuntimeException + /// @throws css::beans::UnknownPropertyException css::uno::Any getPropertyValue( const OUString &rName, const SfxItemSet& rSet ) const throw(css::uno::RuntimeException, css::beans::UnknownPropertyException); + /// @throws css::uno::RuntimeException + /// @throws css::lang::IllegalArgumentException void setPropertyValue( const SfxItemPropertySimpleEntry& rEntry, const css::uno::Any& aVal, SfxItemSet& rSet ) const throw(css::uno::RuntimeException, css::lang::IllegalArgumentException); + /// @throws css::uno::RuntimeException + /// @throws css::lang::IllegalArgumentException + /// @throws css::beans::UnknownPropertyException void setPropertyValue( const OUString& rPropertyName, const css::uno::Any& aVal, SfxItemSet& rSet ) const @@ -142,6 +153,7 @@ public: css::lang::IllegalArgumentException, css::beans::UnknownPropertyException); + /// @throws css::beans::UnknownPropertyException css::beans::PropertyState getPropertyState(const OUString& rName, const SfxItemSet& rSet)const throw(css::beans::UnknownPropertyException); diff --git a/svl/source/inc/passwordcontainer.hxx b/svl/source/inc/passwordcontainer.hxx index 980366fcdb7e..bfba71cad786 100644 --- a/svl/source/inc/passwordcontainer.hxx +++ b/svl/source/inc/passwordcontainer.hxx @@ -219,6 +219,7 @@ private: css::uno::Reference< css::lang::XComponent > mComponent; SysCredentialsConfig mUrlContainer; + /// @throws css::uno::RuntimeException css::uno::Sequence< css::task::UserRecord > CopyToUserRecordSequence( const ::std::list< NamePassRecord >& original, const css::uno::Reference< css::task::XInteractionHandler >& Handler ) @@ -229,11 +230,13 @@ private: bool& io_bTryToDecode, const css::uno::Reference< css::task::XInteractionHandler >& aHandler ); + /// @throws css::uno::RuntimeException css::uno::Sequence< css::task::UserRecord > FindUsr( const ::std::list< NamePassRecord >& userlist, const OUString& name, const css::uno::Reference< css::task::XInteractionHandler >& Handler ) throw(css::uno::RuntimeException, std::exception); +/// @throws css::uno::RuntimeException bool createUrlRecord( const PassMap::iterator & rIter, bool bName, @@ -242,6 +245,7 @@ bool createUrlRecord( css::task::UrlRecord & rRec ) throw( css::uno::RuntimeException ); +/// @throws css::uno::RuntimeException css::task::UrlRecord find( const OUString& aURL, const OUString& aName, @@ -254,12 +258,15 @@ css::task::UrlRecord find( css::task::PasswordRequestMode aRMode, const css::uno::Reference< css::task::XInteractionHandler >& xHandler ); + /// @throws css::uno::RuntimeException OUString const & GetMasterPassword( const css::uno::Reference< css::task::XInteractionHandler >& Handler ) throw(css::uno::RuntimeException, std::exception); + /// @throws css::uno::RuntimeException void UpdateVector( const OUString& url, ::std::list< NamePassRecord >& toUpdate, NamePassRecord& rec, bool writeFile ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException void PrivateAdd( const OUString& aUrl, const OUString& aUserName, const css::uno::Sequence< OUString >& aPasswords, @@ -267,9 +274,11 @@ css::task::UrlRecord find( const css::uno::Reference< css::task::XInteractionHandler >& Handler ) throw(css::uno::RuntimeException, std::exception); + /// @throws css::uno::RuntimeException static ::std::vector< OUString > DecodePasswords( const OUString& aLine, const OUString& aMasterPassword ) throw(css::uno::RuntimeException, std::exception); + /// @throws css::uno::RuntimeException static OUString EncodePasswords(const std::vector< OUString >& lines, const OUString& aMasterPassword ) throw(css::uno::RuntimeException); @@ -315,11 +324,15 @@ public: // provide factory + /// @throws css::uno::RuntimeException static OUString SAL_CALL impl_getStaticImplementationName( ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > SAL_CALL impl_getStaticSupportedServiceNames( ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static css::uno::Reference< css::lang::XSingleServiceFactory > SAL_CALL impl_createFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& ServiceManager ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager ) throw( css::uno::RuntimeException, std::exception ); |