From 441062e98cfa0539030ed3c74d3bd5baceaddf53 Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Mon, 2 Jun 2014 14:50:19 +0300 Subject: [PATCH] minor change --- pf4j/src/main/java/ro/fortsoft/pf4j/PluginWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pf4j/src/main/java/ro/fortsoft/pf4j/PluginWrapper.java b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginWrapper.java index da9908a..f8bf716 100644 --- a/pf4j/src/main/java/ro/fortsoft/pf4j/PluginWrapper.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/PluginWrapper.java @@ -139,7 +139,7 @@ public class PluginWrapper { int modifiers = pluginClass.getModifiers(); if (Modifier.isAbstract(modifiers) || Modifier.isInterface(modifiers) || (!Plugin.class.isAssignableFrom(pluginClass))) { - throw new PluginException("The plugin class '" + pluginClassName + "' is not compatible."); + throw new PluginException("The plugin class '" + pluginClassName + "' is not valid."); } // create the plugin instance -- 2.39.5