diff --git a/src/main/java/org/openhab/automation/jrule/internal/handler/JRuleHandler.java b/src/main/java/org/openhab/automation/jrule/internal/handler/JRuleHandler.java index e09ff78b..a51d922b 100644 --- a/src/main/java/org/openhab/automation/jrule/internal/handler/JRuleHandler.java +++ b/src/main/java/org/openhab/automation/jrule/internal/handler/JRuleHandler.java @@ -282,7 +282,7 @@ private void createRuleInstances() { cls.getDeclaredConstructor().newInstance(); logger.info("Instantiated JRuleItems class"); } catch (ClassNotFoundException | IllegalAccessException | NoSuchMethodException | InstantiationException - | InvocationTargetException e) { + | InvocationTargetException | Error e) { logger.error("Could not instantiate JRuleItems file", e); } @@ -292,7 +292,7 @@ private void createRuleInstances() { cls.getDeclaredConstructor().newInstance(); logger.info("Instantiated JRuleThings class"); } catch (ClassNotFoundException | IllegalAccessException | NoSuchMethodException | InstantiationException - | InvocationTargetException e) { + | InvocationTargetException | Error e) { logger.error("Could not instantiate JRuleThings file", e); } @@ -302,7 +302,7 @@ private void createRuleInstances() { cls.getDeclaredConstructor().newInstance(); logger.info("Instantiated JRuleActions class"); } catch (ClassNotFoundException | IllegalAccessException | NoSuchMethodException | InstantiationException - | InvocationTargetException e) { + | InvocationTargetException | Error e) { logger.error("Could not instantiate JRuleActions file", e); }