summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-13 10:11:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-14 09:16:39 +0100
commit9ab3abd290fda1282d789365dd1cf61f7411c0f1 (patch)
tree9d5d76ba8c2ad612b1c86ad5bfcef72c887541af
parentcc70cff83af25574909b19112b3e67136cffb817 (diff)
coverity#706332 Uncaught exception
Change-Id: I847cea7329a0c9cf370406afe8a7511f58c89901
-rw-r--r--connectivity/source/drivers/jdbc/ResultSet.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/connectivity/source/drivers/jdbc/ResultSet.cxx b/connectivity/source/drivers/jdbc/ResultSet.cxx
index 6ab7327c0aed..279f94459836 100644
--- a/connectivity/source/drivers/jdbc/ResultSet.cxx
+++ b/connectivity/source/drivers/jdbc/ResultSet.cxx
@@ -491,21 +491,18 @@ sal_Bool SAL_CALL java_sql_ResultSet::next( ) throw(SQLException, RuntimeExcept
return callBooleanMethod( "next", mID );
}
-
sal_Bool SAL_CALL java_sql_ResultSet::wasNull( ) throw(SQLException, RuntimeException, std::exception)
{
static jmethodID mID(NULL);
return callBooleanMethod( "wasNull", mID );
}
-
void SAL_CALL java_sql_ResultSet::cancel( ) throw(::com::sun::star::uno::RuntimeException, std::exception)
{
static jmethodID mID(NULL);
- callVoidMethod_Throw("cancel", mID);
+ callVoidMethod_Nothrow("cancel", mID);
}
-
void SAL_CALL java_sql_ResultSet::clearWarnings( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception)
{
static jmethodID mID(NULL);