summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/firebird/PreparedStatement.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:59:45 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:24 +0100
commit5b2b75ac26961d3cef093ca546a5316be6f2d782 (patch)
tree281c24ea2f4b0a49630834a3ecc529cdc22e2402 /connectivity/source/drivers/firebird/PreparedStatement.hxx
parent0d5e1cd497b0de0e62c5911fcd6b473689a1dfe7 (diff)
New loplugin:dynexcspec: Add @throws documentation, connectivity
Change-Id: Id8711eaeac65efaa228b60d5786169016bfb61a3
Diffstat (limited to 'connectivity/source/drivers/firebird/PreparedStatement.hxx')
-rw-r--r--connectivity/source/drivers/firebird/PreparedStatement.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/connectivity/source/drivers/firebird/PreparedStatement.hxx b/connectivity/source/drivers/firebird/PreparedStatement.hxx
index 21f1d3b3183a..0062110899dd 100644
--- a/connectivity/source/drivers/firebird/PreparedStatement.hxx
+++ b/connectivity/source/drivers/firebird/PreparedStatement.hxx
@@ -53,6 +53,8 @@ namespace connectivity
XSQLDA* m_pOutSqlda;
XSQLDA* m_pInSqlda;
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void checkParameterIndex(sal_Int32 nParameterIndex)
throw(css::sdbc::SQLException,
css::uno::RuntimeException);
@@ -60,12 +62,17 @@ namespace connectivity
/**
* Set a numeric value in the input SQLDA. If the destination
* parameter is not of nType then an Exception will be thrown.
+ *
+ * @throws css::sdbc::SQLException
+ * @throws css::uno::RuntimeException
*/
template <typename T> void setValue(sal_Int32 nIndex, T& nValue, ISC_SHORT nType)
throw(css::sdbc::SQLException,
css::uno::RuntimeException);
void setParameterNull(sal_Int32 nParameterIndex, bool bSetNull = true);
+ /// @throws css::sdbc::SQLException
+ /// @throws css::uno::RuntimeException
void ensurePrepared()
throw(css::sdbc::SQLException,
css::uno::RuntimeException);