Remove unused exception
All checks were successful
/ deploy (push) Successful in 1m34s

This commit is contained in:
Minecon724 2025-05-25 08:56:45 +02:00
parent a33022380a
commit 0e8c6e5460
Signed by: Minecon724
GPG key ID: A02E6E67AB961189
2 changed files with 1 additions and 13 deletions

View file

@ -15,7 +15,6 @@ import eu.m724.realweather.commands.AdminCommand;
import eu.m724.realweather.commands.GeoCommand;
import eu.m724.realweather.commands.LocalTimeCommand;
import eu.m724.realweather.commands.LocalWeatherCommand;
import eu.m724.realweather.exception.UserError;
import eu.m724.realweather.mapper.Mapper;
import eu.m724.realweather.mapper.MapperConfig;
import eu.m724.realweather.thunder.ThunderConfig;
@ -109,7 +108,7 @@ public class RealWeatherPlugin extends MStatsPlugin {
Configs.updaterConfig = UpdaterConfig.fromConfiguration(configuration.getConfigurationSection("updater"));
updater = PluginUpdater.build(this, this.getFile());
//updater.init();
} catch (UserError | NoSuchProviderException e) {
} catch (NoSuchProviderException e) {
logger.severe("There's an error in your config:");
logger.severe(" " + e.getMessage());

View file

@ -1,11 +0,0 @@
package eu.m724.realweather.exception;
public class UserError extends Error {
private static final long serialVersionUID = 7152429719832602384L;
public UserError(String message) {
super(message);
}
}