summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/jdbc/SQLException.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-11 20:55:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-12 16:39:55 +0100
commit32db3f5dc4fccecc8c66b1cb4f4444f2e517e648 (patch)
tree9848d00e7095514ca0f470f62258dd79b0b8fab7 /connectivity/source/drivers/jdbc/SQLException.cxx
parentaeac20e7bd2a2fe9b1c2ea3930e5aa3acffc3a74 (diff)
coverity#706331 Uncaught exception
Change-Id: I48e11a07924418721d45fcac55bd5aeb68f115a3
Diffstat (limited to 'connectivity/source/drivers/jdbc/SQLException.cxx')
-rw-r--r--connectivity/source/drivers/jdbc/SQLException.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/jdbc/SQLException.cxx b/connectivity/source/drivers/jdbc/SQLException.cxx
index be3d244884e3..1b2cc88551fa 100644
--- a/connectivity/source/drivers/jdbc/SQLException.cxx
+++ b/connectivity/source/drivers/jdbc/SQLException.cxx
@@ -84,7 +84,7 @@ OUString java_sql_SQLException_BASE::getSQLState() const
sal_Int32 java_sql_SQLException_BASE::getErrorCode() const
{
static jmethodID mID(NULL);
- return callIntMethod("getErrorCode",mID);
+ return callIntMethod_Throw("getErrorCode", mID);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */