summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-25 15:52:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-25 16:56:19 +0100
commit654d845320556216f188988fe70df7f0f27d499a (patch)
treed87d448f30c7d146fa51e29fdbffd4a2c6af0a80 /connectivity
parent6c8b24bf3cec9dd0cefb0b83b7fee5e1281a1232 (diff)
coverity#706328 Uncaught exception
Change-Id: I9182ad75a5b49d5aa9d58cecc690b06220f13272
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/jdbc/Reader.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/jdbc/Reader.cxx b/connectivity/source/drivers/jdbc/Reader.cxx
index 323c34e3629a..46e3e1f20ac9 100644
--- a/connectivity/source/drivers/jdbc/Reader.cxx
+++ b/connectivity/source/drivers/jdbc/Reader.cxx
@@ -65,9 +65,9 @@ sal_Int32 SAL_CALL java_io_Reader::available( ) throw(::com::sun::star::io::Not
static const char * cMethodName = "available";
// Java-Call
static jmethodID mID(NULL);
- obtainMethodId_throwSQL(t.pEnv, cMethodName,cSignature, mID);
+ obtainMethodId_throwRuntime(t.pEnv, cMethodName,cSignature, mID);
out = t.pEnv->CallBooleanMethod( object, mID);
- ThrowSQLException(t.pEnv,*this);
+ ThrowRuntimeException(t.pEnv,*this);
} //t.pEnv
return out;
}