New loplugin:dynexcspec: Add @throws documentation, extensions
Change-Id: Ia44f7b0a162d269bf38133575f986efd62eb6d52
This commit is contained in:
@@ -128,6 +128,7 @@ public:
|
||||
|
||||
static Sequence<OUString> SAL_CALL getSupportedServiceNames_Static() throw( );
|
||||
|
||||
/// @throws Exception
|
||||
friend Reference< XInterface > SAL_CALL BibliographyLoader_CreateInstance( const Reference< XMultiServiceFactory > & rSMgr ) throw( Exception );
|
||||
|
||||
// XLoader
|
||||
|
@@ -162,7 +162,9 @@ public:
|
||||
|
||||
const rtl::Reference<BibGeneralPageFocusListener>& GetFocusListener() { return mxBibGeneralPageFocusListener; }
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
void focusGained(const css::awt::FocusEvent& rEvent) throw( css::uno::RuntimeException, std::exception );
|
||||
/// @throws css::uno::RuntimeException
|
||||
void focusLost(const css::awt::FocusEvent& rEvent) throw( css::uno::RuntimeException, std::exception );
|
||||
|
||||
};
|
||||
|
@@ -94,6 +94,7 @@ namespace bib
|
||||
|
||||
protected:
|
||||
// XEventListener
|
||||
/// @throws css::uno::RuntimeException
|
||||
virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw( css::uno::RuntimeException, std::exception);
|
||||
};
|
||||
|
||||
|
@@ -175,6 +175,7 @@ class BibToolBar: public ToolBox
|
||||
sal_uInt16 InsertFilterItem(const OUString& );
|
||||
void SelectFilterItem(sal_uInt16 nId);
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
void statusChanged(const css::frame::FeatureStateEvent& Event)
|
||||
throw( css::uno::RuntimeException );
|
||||
|
||||
|
@@ -82,7 +82,10 @@ public:
|
||||
LdapConnection() : mConnection(nullptr),mLdapDefinition() {}
|
||||
/** Destructor, releases the connection */
|
||||
~LdapConnection() ;
|
||||
/** Make connection to LDAP server */
|
||||
/** Make connection to LDAP server
|
||||
@throws ldap::LdapConnectionException
|
||||
@throws ldap::LdapGenericException
|
||||
*/
|
||||
void connectSimple(const LdapDefinition& aDefinition)
|
||||
throw (ldap::LdapConnectionException,
|
||||
ldap::LdapGenericException);
|
||||
@@ -103,6 +106,9 @@ public:
|
||||
|
||||
/** finds DN of user
|
||||
@return DN of User
|
||||
@throws lang::IllegalArgumentException
|
||||
@throws ldap::LdapConnectionException
|
||||
@throws ldap::LdapGenericException
|
||||
*/
|
||||
OUString findUserDn(const OUString& aUser)
|
||||
throw (lang::IllegalArgumentException,
|
||||
@@ -110,7 +116,7 @@ public:
|
||||
ldap::LdapGenericException);
|
||||
|
||||
private:
|
||||
|
||||
/// @throws ldap::LdapConnectionException
|
||||
void initConnection()
|
||||
throw (ldap::LdapConnectionException);
|
||||
void disconnect();
|
||||
@@ -120,6 +126,8 @@ private:
|
||||
*/
|
||||
bool isValid() const { return mConnection != nullptr ; }
|
||||
|
||||
/// @throws ldap::LdapConnectionException
|
||||
/// @throws ldap::LdapGenericException
|
||||
void connectSimple()
|
||||
throw (ldap::LdapConnectionException,
|
||||
ldap::LdapGenericException);
|
||||
|
@@ -66,11 +66,13 @@ namespace dbp
|
||||
}
|
||||
|
||||
// XServiceInfo - static methods
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException )
|
||||
{
|
||||
return SERVICEINFO::getServiceNames();
|
||||
}
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString getImplementationName_Static() throw( css::uno::RuntimeException )
|
||||
{
|
||||
return SERVICEINFO::getImplementationName();
|
||||
|
@@ -37,7 +37,9 @@ namespace pcr
|
||||
explicit MasterDetailLinkDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxContext);
|
||||
|
||||
// XServiceInfo - static methods
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > getSupportedServiceNames_static() throw( css::uno::RuntimeException );
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString getImplementationName_static() throw( css::uno::RuntimeException );
|
||||
static css::uno::Reference< css::uno::XInterface >
|
||||
SAL_CALL Create(const css::uno::Reference< css::uno::XComponentContext >&);
|
||||
|
@@ -143,8 +143,11 @@ namespace pcr
|
||||
bool IsModified( ) const;
|
||||
void CommitModified( );
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
void SAL_CALL focusGained( const css::uno::Reference< css::inspection::XPropertyControl >& Control ) throw (css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
void SAL_CALL valueChanged( const css::uno::Reference< css::inspection::XPropertyControl >& Control ) throw (css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
void SAL_CALL activateNextControl( const css::uno::Reference< css::inspection::XPropertyControl >& CurrentControl ) throw (css::uno::RuntimeException);
|
||||
|
||||
protected:
|
||||
|
@@ -40,7 +40,9 @@ namespace pcr
|
||||
explicit ButtonNavigationHandler(
|
||||
const css::uno::Reference< css::uno::XComponentContext >& _rxContext
|
||||
);
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString SAL_CALL getImplementationName_static( ) throw (css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException);
|
||||
|
||||
protected:
|
||||
|
@@ -48,7 +48,9 @@ namespace pcr
|
||||
const css::uno::Reference< css::uno::XComponentContext >& _rxContext
|
||||
);
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString SAL_CALL getImplementationName_static( ) throw (css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException);
|
||||
|
||||
protected:
|
||||
|
@@ -74,10 +74,15 @@ namespace pcr
|
||||
virtual void setModified() { m_bModified = true; }
|
||||
|
||||
// XPropertyControl
|
||||
/// @throws css::uno::RuntimeException
|
||||
::sal_Int16 SAL_CALL getControlType() throw (css::uno::RuntimeException) { return m_nControlType; }
|
||||
/// @throws css::uno::RuntimeException
|
||||
const css::uno::Reference< css::inspection::XPropertyControlContext >& SAL_CALL getControlContext() throw (css::uno::RuntimeException) { return m_xContext; }
|
||||
/// @throws css::uno::RuntimeException
|
||||
void SAL_CALL setControlContext( const css::uno::Reference< css::inspection::XPropertyControlContext >& _controlcontext ) throw (css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
bool SAL_CALL isModified( ) throw (css::uno::RuntimeException) { return m_bModified; }
|
||||
/// @throws css::uno::RuntimeException
|
||||
void SAL_CALL notifyModifiedValue( ) throw (css::uno::RuntimeException);
|
||||
|
||||
/** (fail-safe) wrapper around calling our context's activateNextControl
|
||||
|
@@ -39,6 +39,7 @@ namespace pcr
|
||||
class SAL_NO_VTABLE IPropertyExistenceCheck
|
||||
{
|
||||
public:
|
||||
/// @throws css::uno::RuntimeException
|
||||
virtual bool SAL_CALL hasPropertyByName( const OUString& _rName ) throw (css::uno::RuntimeException) = 0;
|
||||
|
||||
protected:
|
||||
|
@@ -62,7 +62,9 @@ namespace pcr
|
||||
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override;
|
||||
|
||||
// XServiceInfo - static methods
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > getSupportedServiceNames_static() throw( css::uno::RuntimeException );
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString getImplementationName_static() throw( css::uno::RuntimeException );
|
||||
static css::uno::Reference< css::uno::XInterface >
|
||||
SAL_CALL Create(const css::uno::Reference< css::uno::XComponentContext >&);
|
||||
|
@@ -56,7 +56,9 @@ namespace pcr
|
||||
|
||||
public:
|
||||
// XServiceInfo - static versions
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString getImplementationName_static( ) throw(css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > getSupportedServiceNames_static( ) throw(css::uno::RuntimeException);
|
||||
static css::uno::Reference< css::uno::XInterface > SAL_CALL
|
||||
Create(const css::uno::Reference< css::uno::XComponentContext >&);
|
||||
|
@@ -50,7 +50,9 @@ namespace pcr
|
||||
DefaultHelpProvider();
|
||||
|
||||
// XServiceInfo - static versions
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString getImplementationName_static( ) throw(css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > getSupportedServiceNames_static( ) throw(css::uno::RuntimeException);
|
||||
static css::uno::Reference< css::uno::XInterface > SAL_CALL
|
||||
Create(const css::uno::Reference< css::uno::XComponentContext >&);
|
||||
|
@@ -40,7 +40,9 @@ namespace pcr
|
||||
const css::uno::Reference< css::uno::XComponentContext >& _rxContext
|
||||
);
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString SAL_CALL getImplementationName_static( ) throw (css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException);
|
||||
|
||||
protected:
|
||||
|
@@ -51,7 +51,9 @@ namespace pcr
|
||||
const css::uno::Reference< css::uno::XComponentContext >& _rxContext
|
||||
);
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString SAL_CALL getImplementationName_static( ) throw (css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException);
|
||||
|
||||
protected:
|
||||
|
@@ -96,7 +96,9 @@ namespace pcr
|
||||
|
||||
public:
|
||||
// XServiceInfo - static versions
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString SAL_CALL getImplementationName_static( ) throw (css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException);
|
||||
static css::uno::Reference< css::uno::XInterface > Create( const css::uno::Reference< css::uno::XComponentContext >& _rxContext );
|
||||
|
||||
|
@@ -103,7 +103,9 @@ namespace pcr
|
||||
// XPropertySet
|
||||
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception) override;
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString SAL_CALL getImplementationName_static( ) throw (css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException);
|
||||
|
||||
protected:
|
||||
|
@@ -68,7 +68,9 @@ namespace pcr
|
||||
);
|
||||
|
||||
// XServiceInfo - static versions
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString getImplementationName_static( ) throw(css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > getSupportedServiceNames_static( ) throw(css::uno::RuntimeException);
|
||||
static css::uno::Reference< css::uno::XInterface > SAL_CALL
|
||||
Create(const css::uno::Reference< css::uno::XComponentContext >&);
|
||||
@@ -110,7 +112,9 @@ namespace pcr
|
||||
{
|
||||
public:
|
||||
// XServiceInfo - static versions
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString getImplementationName_static( ) throw(css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > getSupportedServiceNames_static( ) throw(css::uno::RuntimeException);
|
||||
static css::uno::Reference< css::uno::XInterface > SAL_CALL
|
||||
Create(const css::uno::Reference< css::uno::XComponentContext >&);
|
||||
|
@@ -209,7 +209,9 @@ namespace pcr
|
||||
const Reference< XComponentContext >& _rxContext
|
||||
);
|
||||
|
||||
/// @throws RuntimeException
|
||||
static OUString SAL_CALL getImplementationName_static( ) throw (RuntimeException);
|
||||
/// @throws RuntimeException
|
||||
static Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (RuntimeException);
|
||||
|
||||
protected:
|
||||
|
@@ -81,7 +81,9 @@ namespace pcr
|
||||
|
||||
public:
|
||||
// XServiceInfo - static versions
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString SAL_CALL getImplementationName_static( ) throw (css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException);
|
||||
static css::uno::Reference< css::uno::XInterface > Create( const css::uno::Reference< css::uno::XComponentContext >& _rxContext );
|
||||
|
||||
|
@@ -196,6 +196,7 @@ namespace pcr
|
||||
|
||||
static css::uno::Reference< css::uno::XInterface > getContextDocument( const css::uno::Reference<css::uno::XComponentContext> & _rContext );
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Reference< css::uno::XInterface > getContextDocument_throw( const css::uno::Reference<css::uno::XComponentContext> & _rContext ) throw (css::uno::RuntimeException);
|
||||
|
||||
/** gets the window of the ObjectInspector in which an property handler lives
|
||||
|
@@ -71,7 +71,9 @@ namespace pcr
|
||||
virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (RuntimeException, std::exception) override;
|
||||
|
||||
// XServiceInfo - static versions
|
||||
/// @throws RuntimeException
|
||||
static OUString getImplementationName_static( ) throw(RuntimeException);
|
||||
/// @throws RuntimeException
|
||||
static Sequence< OUString > getSupportedServiceNames_static( ) throw(RuntimeException);
|
||||
static Reference< XInterface > SAL_CALL
|
||||
Create(const Reference< XComponentContext >&);
|
||||
|
@@ -60,7 +60,9 @@ namespace pcr
|
||||
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override;
|
||||
|
||||
// XServiceInfo - static methods
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > getSupportedServiceNames_static() throw( css::uno::RuntimeException );
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString getImplementationName_static() throw( css::uno::RuntimeException );
|
||||
static css::uno::Reference< css::uno::XInterface >
|
||||
SAL_CALL Create(const css::uno::Reference< css::uno::XComponentContext >&);
|
||||
|
@@ -190,7 +190,9 @@ namespace pcr
|
||||
|
||||
public:
|
||||
// XServiceInfo - static versions
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString getImplementationName_static( ) throw(css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > getSupportedServiceNames_static( ) throw(css::uno::RuntimeException);
|
||||
static css::uno::Reference< css::uno::XInterface > SAL_CALL
|
||||
Create(const css::uno::Reference< css::uno::XComponentContext >&);
|
||||
|
@@ -76,7 +76,9 @@ namespace pcr
|
||||
const css::uno::Reference< css::uno::XComponentContext >& _rxContext
|
||||
);
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString SAL_CALL getImplementationName_static( ) throw (css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException);
|
||||
|
||||
virtual ~SubmissionPropertyHandler() override;
|
||||
|
@@ -45,7 +45,9 @@ namespace pcr
|
||||
const css::uno::Reference< css::uno::XComponentContext >& _rxContext
|
||||
);
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
static OUString SAL_CALL getImplementationName_static( ) throw (css::uno::RuntimeException);
|
||||
/// @throws css::uno::RuntimeException
|
||||
static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException);
|
||||
|
||||
protected:
|
||||
|
@@ -86,6 +86,7 @@ public:
|
||||
void SetData( void* pData ) { ReleaseData(); mpData = pData; }
|
||||
};
|
||||
|
||||
/// @throws Exception
|
||||
Reference< XInterface > SAL_CALL ScannerManager_CreateInstance( const Reference< css::lang::XMultiServiceFactory >& rxFactory ) throw( Exception );
|
||||
|
||||
#endif
|
||||
|
@@ -200,7 +200,7 @@ private:
|
||||
const ::rtl::Reference< UpdateCheckConfigListener > m_rListener;
|
||||
};
|
||||
|
||||
|
||||
/// @throws css::uno::RuntimeException
|
||||
template <typename T>
|
||||
T getValue( const css::uno::Sequence< css::beans::NamedValue >& rNamedValues, const sal_Char * pszName )
|
||||
throw (css::uno::RuntimeException)
|
||||
|
Reference in New Issue
Block a user