summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/jdbc/SQLException.cxx
diff options
context:
space:
mode:
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 1b2cc88551fa..c05650e66beb 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_Throw("getErrorCode", mID);
+ return callIntMethod_ThrowSQL("getErrorCode", mID);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */