try {
Constructor c = Class.forName(xpdlrhClass).getConstructor(new Class[]{});
xpdlRHandler = (XPDLRepositoryHandler) c.newInstance(new Object[]{});
loggingManager.info("JaWEManager -> Working with '" + xpdlrhClass + "' implementation of XPDL Repository Handler");
} catch (Throwable ex) {
xpdlRHandler = new XPDLRepHandler();
if (JaWE.getJaWEVersion() != JaWE.COMMUNITY_VERSION) {
String msg = "JaweManager -> Problems while instantiating XPDL Repository Handler class '" + xpdlrhClass + "' - using default implementation!";
loggingManager.error(msg, ex);
} else {
loggingManager.info("JaWEManager -> Working with '" + XPDLRepHandler.class.getName() + "' implementation of XPDL Repository Handler");