return;
}
try {
XUpdateHandler aHandler = oObj.getUpdateHandler(
"org.openoffice.Office.TypeDetection",
"illegal");
log.println("Exception expected -- FAILED");
res = false;
} catch (com.sun.star.configuration.backend.BackendAccessException e) {
log.println("expected Exception -- OK");
} catch (com.sun.star.lang.IllegalArgumentException e) {
log.println("unexpected Exception -- FAILED");
res = false;
} catch (com.sun.star.lang.NoSupportException e) {
log.println("unexpected Exception " + e + " -- FAILED");
res = false;
}
try {
XStringSubstitution sts = createStringSubstitution(
(XMultiServiceFactory) tParam.getMSF());
String ent = sts.getSubstituteVariableValue("$(inst)") +
"/share/registry";
XUpdateHandler aHandler = oObj.getUpdateHandler(
"org.openoffice.Office.Jobs",
ent);
if (aHandler == null) {
log.println("\treturned Layer is NULL -- FAILED");