summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-06 17:07:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-06 17:07:35 +0200
commitd0bc637426060593046c8d3a4d01d0b05b052cc5 (patch)
tree8acab09073f56b0eb04ed9e168f1f5f36428ea99
parent07f5d9839fc28343447b2879a3ccf138bd025544 (diff)
Normalize on using @throws instead of @raise[s]
...as the former is used almost exclusively Change-Id: I38ff11cd0d5125534550df99dd427666011c3b7b
-rw-r--r--connectivity/source/drivers/kab/KDriver.hxx8
-rw-r--r--connectivity/source/drivers/macab/MacabDriver.hxx8
-rw-r--r--dbaccess/source/core/dataaccess/databasedocument.hxx6
-rw-r--r--dbaccess/source/core/dataaccess/documentdefinition.hxx2
-rw-r--r--dbaccess/source/ui/inc/asyncmodaldialog.hxx2
-rw-r--r--include/comphelper/officeresourcebundle.hxx2
-rw-r--r--include/connectivity/dbexception.hxx2
-rw-r--r--include/svx/AccessibleShape.hxx2
-rw-r--r--include/svx/ChildrenManager.hxx2
-rw-r--r--include/svx/IAccessibleParent.hxx2
-rw-r--r--pyuno/inc/pyuno.hxx2
-rw-r--r--sd/source/ui/inc/AccessiblePageShape.hxx2
-rw-r--r--sd/source/ui/unoidl/unolayer.hxx2
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.hxx2
-rw-r--r--svx/source/inc/GraphCtlAccessibleContext.hxx2
15 files changed, 23 insertions, 23 deletions
diff --git a/connectivity/source/drivers/kab/KDriver.hxx b/connectivity/source/drivers/kab/KDriver.hxx
index 24e411a3019a..5174c90a0968 100644
--- a/connectivity/source/drivers/kab/KDriver.hxx
+++ b/connectivity/source/drivers/kab/KDriver.hxx
@@ -85,9 +85,9 @@ namespace connectivity
/** initializes the implementation module.
- @raises css::uno::RuntimeException
+ @throws css::uno::RuntimeException
if the module could be loaded, but required symbols are missing
- @raises css::sdbc::SQLException
+ @throws css::sdbc::SQLException
if the KDE version we're running against is not supported, or no KDE was found at all
*/
void init();
@@ -99,7 +99,7 @@ namespace connectivity
/** creates a new connection
@precond
<member>init</member> has been called before
- @raises css::uno::RuntimeException
+ @throws css::uno::RuntimeException
if no connection object could be created (which is a severe error, normally impossible)
*/
css::uno::Reference<css::sdbc::XConnection> createConnection(
@@ -112,7 +112,7 @@ namespace connectivity
@return <TRUE/> if the module could be loaded successfully.
- @raises css::uno::RuntimeException
+ @throws css::uno::RuntimeException
if the module could be loaded, but required symbols are missing
*/
bool impl_loadModule();
diff --git a/connectivity/source/drivers/macab/MacabDriver.hxx b/connectivity/source/drivers/macab/MacabDriver.hxx
index 8f19c877cfa1..20063ff115bf 100644
--- a/connectivity/source/drivers/macab/MacabDriver.hxx
+++ b/connectivity/source/drivers/macab/MacabDriver.hxx
@@ -64,9 +64,9 @@ namespace connectivity
/** initializes the implementation module.
- @raises css::uno::RuntimeException
+ @throws css::uno::RuntimeException
if the module could be loaded, but required symbols are missing
- @raises css::sdbc::SQLException
+ @throws css::sdbc::SQLException
if no Mac OS was found at all
*/
void init();
@@ -78,7 +78,7 @@ namespace connectivity
/** creates a new connection
@precond
<member>init</member> has been called before
- @raises css::uno::RuntimeException
+ @throws css::uno::RuntimeException
if no connection object could be created (which is a severe error, normally impossible)
*/
MacabConnection* createConnection( MacabDriver* _pDriver ) const;
@@ -90,7 +90,7 @@ namespace connectivity
@return <TRUE/> if the module could be loaded successfully.
- @raises css::uno::RuntimeException
+ @throws css::uno::RuntimeException
if the module could be loaded, but required symbols are missing
*/
bool impl_loadModule();
diff --git a/dbaccess/source/core/dataaccess/databasedocument.hxx b/dbaccess/source/core/dataaccess/databasedocument.hxx
index f9d4107a07ba..0b91ad84119b 100644
--- a/dbaccess/source/core/dataaccess/databasedocument.hxx
+++ b/dbaccess/source/core/dataaccess/databasedocument.hxx
@@ -488,7 +488,7 @@ private:
determines if the ownership should be transferred to the component which
possibly vetos the closing
- @raises css::util::CloseVetoException
+ @throws css::util::CloseVetoException
if the closing was vetoed by any instance
*/
void impl_closeControllerFrames_nolck_throw( bool _bDeliverOwnership );
@@ -506,9 +506,9 @@ private:
/** retrieves the forms or reports contained, creates and initializes it, if necessary
- @raises DisposedException
+ @throws DisposedException
if the instance is already disposed
- @raises IllegalArgumentException
+ @throws IllegalArgumentException
if <arg>_eType</arg> is not ODatabaseModelImpl::E_FORM and not ODatabaseModelImpl::E_REPORT
*/
css::uno::Reference< css::container::XNameAccess >
diff --git a/dbaccess/source/core/dataaccess/documentdefinition.hxx b/dbaccess/source/core/dataaccess/documentdefinition.hxx
index 68d19a42de12..362bd1e6de16 100644
--- a/dbaccess/source/core/dataaccess/documentdefinition.hxx
+++ b/dbaccess/source/core/dataaccess/documentdefinition.hxx
@@ -204,7 +204,7 @@ private:
static void impl_initFormEditView( const css::uno::Reference< css::frame::XController >& _rxController );
/** removes the given frame from the desktop's frame collection
- @raises css::uno::RuntimeException
+ @throws css::uno::RuntimeException
*/
static void impl_removeFrameFromDesktop_throw(
const css::uno::Reference< css::uno::XComponentContext >& _rContxt,
diff --git a/dbaccess/source/ui/inc/asyncmodaldialog.hxx b/dbaccess/source/ui/inc/asyncmodaldialog.hxx
index edbea22f2fd9..3b6d2517a154 100644
--- a/dbaccess/source/ui/inc/asyncmodaldialog.hxx
+++ b/dbaccess/source/ui/inc/asyncmodaldialog.hxx
@@ -33,7 +33,7 @@ namespace dbaui
public:
/** executes the given dialog asynchronously, but still modal
- @raises IllegalArgumentException
+ @throws IllegalArgumentException
if the given dialog is <NULL/>
@todo
allow for a callback for the result
diff --git a/include/comphelper/officeresourcebundle.hxx b/include/comphelper/officeresourcebundle.hxx
index 679d850fd467..8f127d534a28 100644
--- a/include/comphelper/officeresourcebundle.hxx
+++ b/include/comphelper/officeresourcebundle.hxx
@@ -52,7 +52,7 @@ namespace comphelper
the component context to operate in
@param _bundleBaseName
the base name of the resource file which should be accessed (*without* the SUPD!)
- @raises css::lang::NullPointerException
+ @throws css::lang::NullPointerException
if the given component context is <NULL/>
*/
OfficeResourceBundle(
diff --git a/include/connectivity/dbexception.hxx b/include/connectivity/dbexception.hxx
index 3a1ba7132fb3..9de0e93ea475 100644
--- a/include/connectivity/dbexception.hxx
+++ b/include/connectivity/dbexception.hxx
@@ -208,7 +208,7 @@ public:
@param _eState
describes the state whose description is to retrieve. Must not be SQL_ERROR_UNSPECIFIED.
- @raises RuntimeException
+ @throws RuntimeException
in case of an internal error
*/
OOO_DLLPUBLIC_DBTOOLS OUString getStandardSQLState( StandardSQLState _eState );
diff --git a/include/svx/AccessibleShape.hxx b/include/svx/AccessibleShape.hxx
index af842a0dad75..8bafaec6b53f 100644
--- a/include/svx/AccessibleShape.hxx
+++ b/include/svx/AccessibleShape.hxx
@@ -216,7 +216,7 @@ public:
@return
Reference of the requested child which is the accessible object
of a visible shape.
- @raises IndexOutOfBoundsException
+ @throws IndexOutOfBoundsException
Throws an exception if the index is not valid.
*/
virtual css::uno::Reference<
diff --git a/include/svx/ChildrenManager.hxx b/include/svx/ChildrenManager.hxx
index 4e6aea5204e3..bb1cab720a80 100644
--- a/include/svx/ChildrenManager.hxx
+++ b/include/svx/ChildrenManager.hxx
@@ -118,7 +118,7 @@ public:
requested accessible child. This reference is empty if it has
not been possible to create the accessible object of the
corresponding shape.
- @raises
+ @throws
Throws an IndexOutOfBoundsException if the index is not valid.
*/
css::uno::Reference<
diff --git a/include/svx/IAccessibleParent.hxx b/include/svx/IAccessibleParent.hxx
index a5308f082761..26678ef4e890 100644
--- a/include/svx/IAccessibleParent.hxx
+++ b/include/svx/IAccessibleParent.hxx
@@ -71,7 +71,7 @@ public:
occurs that does not result in an exception then <FALSE/> is
returned.
- @raises RuntimeException
+ @throws RuntimeException
in case something went heavily wrong
*/
virtual bool ReplaceChild (
diff --git a/pyuno/inc/pyuno.hxx b/pyuno/inc/pyuno.hxx
index eac255469a6b..c80d9b13f8fc 100644
--- a/pyuno/inc/pyuno.hxx
+++ b/pyuno/inc/pyuno.hxx
@@ -276,7 +276,7 @@ public:
precondition: The current thread MUST NOT hold the global interpreter lock.
postcondition: The global interpreter lock is acquired
- @raises css::uno::RuntimeException
+ @throws css::uno::RuntimeException
in case no pythread state could be created
*/
PyThreadAttach( PyInterpreterState *interp) throw ( css::uno::RuntimeException );
diff --git a/sd/source/ui/inc/AccessiblePageShape.hxx b/sd/source/ui/inc/AccessiblePageShape.hxx
index 90a977f79cb6..19c5e01a9a81 100644
--- a/sd/source/ui/inc/AccessiblePageShape.hxx
+++ b/sd/source/ui/inc/AccessiblePageShape.hxx
@@ -79,7 +79,7 @@ public:
@return
Reference of the requested child which is the accessible object
of a visible shape.
- @raises IndexOutOfBoundsException
+ @throws IndexOutOfBoundsException
Throws always an exception because there are no children.
*/
virtual css::uno::Reference<css::accessibility::XAccessible> SAL_CALL
diff --git a/sd/source/ui/unoidl/unolayer.hxx b/sd/source/ui/unoidl/unolayer.hxx
index 9a395e1445c0..24fb20b7e60e 100644
--- a/sd/source/ui/unoidl/unolayer.hxx
+++ b/sd/source/ui/unoidl/unolayer.hxx
@@ -86,7 +86,7 @@ public:
virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) throw (css::uno::RuntimeException, std::exception) override;
/** Not implemented. Always throws an exception.
- @raises NoSupportException.
+ @throws NoSupportException.
*/
virtual void SAL_CALL setParent( const css::uno::Reference< css::uno::XInterface >& Parent ) throw (css::lang::NoSupportException, css::uno::RuntimeException, std::exception) override;
diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx
index 1983e9faffdd..e284ca60f141 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.hxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.hxx
@@ -131,7 +131,7 @@ public:
requested accessible child. This reference is empty if it has
not been possible to create the accessible object of the
corresponding shape.
- @raises
+ @throws
Throws an IndexOutOfBoundsException if the index is not valid.
*/
css::uno::Reference<css::accessibility::XAccessible>
diff --git a/svx/source/inc/GraphCtlAccessibleContext.hxx b/svx/source/inc/GraphCtlAccessibleContext.hxx
index bb9027b854e1..b7f7040e16e8 100644
--- a/svx/source/inc/GraphCtlAccessibleContext.hxx
+++ b/svx/source/inc/GraphCtlAccessibleContext.hxx
@@ -176,7 +176,7 @@ protected:
@return
The returned rectangle is a bounding box of the object given in
absolute screen coordinates.
- @raise DisposedException
+ @throws DisposedException
When the object is already disposed then a
<type>DisposedException</type> is thrown.
*/