From 32db3f5dc4fccecc8c66b1cb4f4444f2e517e648 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 11 Oct 2014 20:55:27 +0100 Subject: coverity#706331 Uncaught exception Change-Id: I48e11a07924418721d45fcac55bd5aeb68f115a3 --- connectivity/source/drivers/jdbc/SQLException.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connectivity/source/drivers/jdbc/SQLException.cxx') 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: */ -- cgit