diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-24 13:10:05 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-24 13:10:05 +0000 |
commit | c9e108aac6d5f42f559e2f20792579eb21aea040 (patch) | |
tree | f256bd053ea7790b57d2c0cb45fa556e04f0eee2 /stoc/source | |
parent | b263866f00779d6d16ef9d5fd3121ac82a1cf100 (diff) |
INTEGRATION: CWS uno3 (1.53.6); FILE MERGED
2003/04/22 14:26:40 jl 1.53.6.1: #108692# correct error message if office is not configured to run java
Diffstat (limited to 'stoc/source')
-rw-r--r-- | stoc/source/javavm/javavm.cxx | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx index c4848c9727f0..bc837546062d 100644 --- a/stoc/source/javavm/javavm.cxx +++ b/stoc/source/javavm/javavm.cxx @@ -2,9 +2,9 @@ * * $RCSfile: javavm.cxx,v $ * - * $Revision: 1.55 $ + * $Revision: 1.56 $ * - * last change: $Author: rt $ $Date: 2003-04-23 16:12:59 $ + * last change: $Author: vg $ $Date: 2003-04-24 14:10:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -840,9 +840,8 @@ void initVMConfiguration(stoc_javavm::JVM * pjvm, #endif } - sal_Bool bPropsFail = sal_False; - sal_Bool bPropsFail2= sal_False; - css::java::JavaNotConfiguredException confexc; + + sal_Bool bPropsFail= sal_False; try { //JavaNotConfiguredException is rethrown. The user chose not to use java, therefore @@ -858,6 +857,10 @@ void initVMConfiguration(stoc_javavm::JVM * pjvm, { throw; } + catch(css::java::JavaNotConfiguredException& e) + { + throw; + } catch(css::uno::Exception & exception) { #if OSL_DEBUG_LEVEL > 1 @@ -880,15 +883,7 @@ void initVMConfiguration(stoc_javavm::JVM * pjvm, "and there are no environment variables set which " \ "contain configuration data")), 0); } -<<<<<<< javavm.cxx - -======= ->>>>>>> 1.52.2.1.16.2 } -<<<<<<< javavm.cxx - -======= ->>>>>>> 1.52.2.1.16.2 try { getJavaPropsFromSafetySettings(&jvm, xSMgr, xCtx); } |