forked from neurodock/NeuroDock
refactor: me.zacharias.chat → me.neurodock, org rename cleanup
- Renamed package from me.zacharias.chat to me.neurodock across all 8 modules - Updated Gradle group from me.zacharias.neurodock to me.neurodock - Updated README and other files to reflect new Gitea org URL (Chat_things → neurodock) Dev note: 95 files touched. The Great Refactor is complete, long may it rest.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package me.neurodock.plugin.exceptions;
|
||||
|
||||
public class PluginLoadingException extends RuntimeException {
|
||||
public PluginLoadingException(String message, String pluginName) {
|
||||
super("Plugin: \""+pluginName+"\"> "+message);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package me.neurodock.plugin.exceptions;
|
||||
|
||||
import me.neurodock.plugin.tool.Tool;
|
||||
|
||||
public class ToolRuntimeException extends Exception {
|
||||
String toolName;
|
||||
|
||||
public String getToolName() {
|
||||
return toolName;
|
||||
}
|
||||
|
||||
public ToolRuntimeException(Tool tool, String message) {
|
||||
super(message);
|
||||
this.toolName = tool.name();
|
||||
}
|
||||
|
||||
public ToolRuntimeException(String toolName, String message) {
|
||||
super(message);
|
||||
this.toolName = toolName;
|
||||
}
|
||||
|
||||
public ToolRuntimeException(String toolName, String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
this.toolName = toolName;
|
||||
}
|
||||
|
||||
public ToolRuntimeException(Tool tool, String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
this.toolName = tool.name();
|
||||
}
|
||||
|
||||
public ToolRuntimeException(Tool tool, Throwable cause) {
|
||||
super(cause);
|
||||
this.toolName = tool.name();
|
||||
}
|
||||
|
||||
public ToolRuntimeException(String toolName, Throwable cause) {
|
||||
super(cause);
|
||||
this.toolName = toolName;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user