Fixed missing exception message for an unknown action/criteria class in RuleEntryLoader.

This commit is contained in:
sk89q 2012-11-10 23:31:43 -08:00
parent 9b1b665da7
commit e355bb0055

View File

@ -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;