INTEGRATION: CWS greenstate30ver3_DEV300 (1.1.4.2.20); FILE MERGED

2008/09/03 11:43:20 obr 1.1.4.2.20.1: #i93407# ignore exceptions caused by outdated local service tag client
This commit is contained in:
Rüdiger Timm 2008-09-04 08:22:28 +00:00
parent 8b4a0436e8
commit 526e22a02b

View file

@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: Registration.java,v $
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* This file is part of OpenOffice.org.
*
@ -284,9 +284,16 @@ public class Registration {
// Store the service tag in local registry, which might have been installed later
if( Registry.isSupported() ) {
// ignore communication failures with local service tag client
try {
if( Registry.getSystemRegistry().getServiceTag(tag.getInstanceURN()) == null ) {
Registry.getSystemRegistry().addServiceTag(tag);
}
} catch( java.io.IOException e) {
e.printStackTrace();
} catch (java.lang.RuntimeException e) {
e.printStackTrace();
}
}
}