Skip to content

Instantly share code, notes, and snippets.

@brcdev
Created April 22, 2018 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brcdev/be53327f1bee00dd07a827cc0d804d5e to your computer and use it in GitHub Desktop.
Save brcdev/be53327f1bee00dd07a827cc0d804d5e to your computer and use it in GitHub Desktop.
package net.brcdev.shopgui.api.exception;
import org.bukkit.entity.Player;
public class PlayerDataNotLoadedException extends Exception {
public PlayerDataNotLoadedException(Player player) {
super(String.format("%s's player data wasn't loaded from the database yet", player.getName()));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment