package pluginbase.command;
import pluginbase.messages.BundledMessage;
import pluginbase.messages.PluginBaseException;
import pluginbase.messages.messaging.SendablePluginBaseException;
import org.jetbrains.annotations.NotNull;
/**
* Used when commands throw exceptions.
*/
public class CommandException extends SendablePluginBaseException {
public CommandException(@NotNull final BundledMessage languageMessage) {
super(languageMessage);
}
public CommandException(@NotNull final BundledMessage languageMessage, @NotNull final Throwable throwable) {
super(languageMessage, throwable);
}
public CommandException(@NotNull final BundledMessage languageMessage, @NotNull final PluginBaseException cause) {
super(languageMessage, cause);
}
public CommandException(@NotNull final PluginBaseException e) {
super(e);
}
}