summaryrefslogtreecommitdiff
path: root/stoc/source
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source')
-rw-r--r--stoc/source/javaloader/javaloader.cxx2
-rw-r--r--stoc/source/javavm/javavm.cxx8
-rw-r--r--stoc/source/servicemanager/servicemanager.cxx6
3 files changed, 8 insertions, 8 deletions
diff --git a/stoc/source/javaloader/javaloader.cxx b/stoc/source/javaloader/javaloader.cxx
index 2139815d357c..b634a3879895 100644
--- a/stoc/source/javaloader/javaloader.cxx
+++ b/stoc/source/javaloader/javaloader.cxx
@@ -356,7 +356,7 @@ css::uno::Reference<XInterface> SAL_CALL JavaComponentLoader_CreateInstance(cons
catch(const RuntimeException & runtimeException) {
SAL_INFO(
"stoc",
- "could not init javaloader due to " << runtimeException.Message);
+ "could not init javaloader due to " << runtimeException);
throw;
}
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx
index 60a0d3fc603e..5fdb0ea1cf79 100644
--- a/stoc/source/javavm/javavm.cxx
+++ b/stoc/source/javavm/javavm.cxx
@@ -538,14 +538,14 @@ void initVMConfiguration(
getINetPropsFromConfig(&jvm, xSMgr, xCtx);
}
catch(const css::uno::Exception & exception) {
- SAL_INFO("stoc", "can not get INETProps because of >" << exception.Message << "<");
+ SAL_INFO("stoc", "can not get INETProps because of " << exception);
}
try {
getDefaultLocaleFromConfig(&jvm, xSMgr,xCtx);
}
catch(const css::uno::Exception & exception) {
- SAL_INFO("stoc", "can not get locale because of >" << exception.Message << "<");
+ SAL_INFO("stoc", "can not get locale because of " << exception);
}
try
@@ -553,7 +553,7 @@ void initVMConfiguration(
getJavaPropsFromSafetySettings(&jvm, xSMgr, xCtx);
}
catch(const css::uno::Exception & exception) {
- SAL_INFO("stoc", "couldn't get safety settings because of >" << exception.Message << "<");
+ SAL_INFO("stoc", "couldn't get safety settings because of " << exception);
}
*pjvm= jvm;
@@ -1333,7 +1333,7 @@ void JavaVirtualMachine::registerConfigChangesListener()
}
}catch(const css::uno::Exception & e)
{
- SAL_INFO("stoc", "could not set up listener for Configuration because of >" << e.Message << "<");
+ SAL_INFO("stoc", "could not set up listener for Configuration because of >" << e << "<");
}
}
diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx
index 6186ad209bf8..0c222301cb15 100644
--- a/stoc/source/servicemanager/servicemanager.cxx
+++ b/stoc/source/servicemanager/servicemanager.cxx
@@ -651,7 +651,7 @@ void OServiceManager::disposing()
}
catch (const RuntimeException & exc)
{
- SAL_INFO("stoc", "RuntimeException occurred upon disposing factory: " << exc.Message);
+ SAL_INFO("stoc", "RuntimeException occurred upon disposing factory: " << exc);
}
}
@@ -840,7 +840,7 @@ Reference< XInterface > OServiceManager::createInstanceWithContext(
}
catch (const lang::DisposedException & exc)
{
- SAL_INFO("stoc", "DisposedException occurred: " << exc.Message);
+ SAL_INFO("stoc", "DisposedException occurred: " << exc);
}
}
@@ -894,7 +894,7 @@ Reference< XInterface > OServiceManager::createInstanceWithArgumentsAndContext(
}
catch (const lang::DisposedException & exc)
{
- SAL_INFO("stoc", "DisposedException occurred: " << exc.Message);
+ SAL_INFO("stoc", "DisposedException occurred: " << exc);
}
}