summaryrefslogtreecommitdiffstats
path: root/connectivity/source/commontools
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r--connectivity/source/commontools/CommonTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/CommonTools.cxx b/connectivity/source/commontools/CommonTools.cxx
index 2afca36d0604..3bfef6fd3d03 100644
--- a/connectivity/source/commontools/CommonTools.cxx
+++ b/connectivity/source/commontools/CommonTools.cxx
@@ -134,7 +134,7 @@ namespace connectivity
Any uaJVM = xVM->getJavaVM( processID );
sal_Int64 nTemp;
if (!(uaJVM >>= nTemp)) {
- throw Exception(); // -5
+ throw Exception("cannot get result for getJavaVM", nullptr); // -5
}
aRet = reinterpret_cast<jvmaccess::VirtualMachine *>(
static_cast<sal_IntPtr>(nTemp));