dev.alangomes.springspigot.exception.PlayerNotFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spigot-spring-boot-starter Show documentation
Show all versions of spigot-spring-boot-starter Show documentation
Spring support for spigot plugins
package dev.alangomes.springspigot.exception;
import lombok.Getter;
@Getter
public class PlayerNotFoundException extends RuntimeException {
private final String name;
public PlayerNotFoundException() {
super("Player not found");
this.name = null;
}
public PlayerNotFoundException(String name) {
super(String.format("Player %s not found", name));
this.name = name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy