All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.alangomes.springspigot.exception.PlayerNotFoundException Maven / Gradle / Ivy

There is a newer version: 0.20.7
Show newest version
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