From e355bb0055275823bd63eebc91359666c9157418 Mon Sep 17 00:00:00 2001 From: sk89q Date: Sat, 10 Nov 2012 23:31:43 -0800 Subject: [PATCH] Fixed missing exception message for an unknown action/criteria class in RuleEntryLoader. --- src/main/java/com/sk89q/rulelists/RuleEntryLoader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/rulelists/RuleEntryLoader.java b/src/main/java/com/sk89q/rulelists/RuleEntryLoader.java index 5720efb8..aced2e8e 100644 --- a/src/main/java/com/sk89q/rulelists/RuleEntryLoader.java +++ b/src/main/java/com/sk89q/rulelists/RuleEntryLoader.java @@ -162,7 +162,8 @@ public T read(ConfigurationNode node) { // Throw an exception in strict mode if (strict) { - throw new LoaderBuilderException(); + throw new LoaderBuilderException("RuleList: Invalid definition " + + "identified by type '" + id + "': " + e.getMessage()); } return null;