|
|
@ -15,6 +15,8 @@ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
package ro.fortsoft.pf4j; |
|
|
|
package ro.fortsoft.pf4j; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import ro.fortsoft.pf4j.util.StringUtils; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* An exception used to indicate that a plugin problem occurred. |
|
|
|
* An exception used to indicate that a plugin problem occurred. |
|
|
|
* |
|
|
|
* |
|
|
@ -40,4 +42,12 @@ public class PluginException extends Exception { |
|
|
|
super(message, cause); |
|
|
|
super(message, cause); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public PluginException(Throwable cause, String message, Object... args) { |
|
|
|
|
|
|
|
super(StringUtils.format(message, args), cause); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public PluginException(String message, Object... args) { |
|
|
|
|
|
|
|
super(StringUtils.format(message, args)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|